rtruncatednorm: Sample from a truncated normal distribution

Description Usage Arguments See Also

View source: R/helpers.R

Description

Sample from a truncated normal distribution

Usage

1
rtruncatednorm(n = NULL, mean = 0, sd = 1, ll = -Inf, ul = Inf)

Arguments

n

Number of observations

mean

Mean

sd

Standard deviation

ll

Lower bound

ul

Upper bound

See Also

There is a discussion and code on https://stackoverflow.com/a/14034577, and there is also the truncnorm package.


hplieninger/ItemResponseTrees documentation built on Nov. 13, 2020, 12:17 p.m.