Truncated Normal Sampling

Description

Random numbers from truncated univariate normal.

Usage

1
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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.