dtnorm(x, mean = 0, sd = 1, lower = -Inf, upper = Inf, log = FALSE)
rtnorm(n, mean = 0, sd = 1, lower = -Inf, upper = Inf)
0
.1
.-Inf
.Inf
.FALSE
.dtnorm
and rtnorm
of the msm package. See the corresponding help page for additional details.