Description Usage Arguments Details
Density and random generation for the truncated Normal distribution with mean equal to mean and standard deviation equal to sd before truncation, and truncated on the interval [lower, upper]. For internal use.
1 2 |
x |
vector of quantiles. numeric vector. |
n |
number of observations. integer. |
mean |
mean vector of means. numeric. Default is |
sd |
vector of standard deviations. numeric. Default is |
lower |
truncation point. numeric. Default is |
upper |
upper truncation point. numeric. Default is |
log |
if TRUE, probabilities p are given as log(p). logical. Default is |
These functions are a copy of the dtnorm
and rtnorm
of the msm package. See the corresponding help page for additional details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.