rtnorm_cpp {oeli} | R Documentation |
Draw from univariate truncated normal
Description
rtnorm_cpp
draws from a one-sided truncated univariate normal
distribution.
rttnorm_cpp
draws from a two-sided truncated univariate normal
distribution.
Usage
rtnorm_cpp(mean, sd, point, above, log = FALSE)
rttnorm_cpp(mean, sd, lower, upper, log = FALSE)
Arguments
mean |
A |
sd |
A |
point |
A |
above |
A |
log |
A |
lower |
A |
upper |
A |
Details
These function performs no input checks.
Value
A numeric
, the random draw.
[Package oeli version 0.5.2 Index]