trRnorm: Truncated Normal Sampling
Description
Random numbers from truncated univariate normal.
Usage
trRnorm(n, mu = 0, sd = 1, a = -Inf, b = Inf)
Arguments
- n
The number of points to sample.
- mu
The mean of the distribution.
- sd
The standard deviation.
- a
The lower truncation point.
- b
The upper truncation point.