rnorm_trunc | R Documentation |
Helper function used to sample from a truncated normal distribution.
rnorm_trunc(n, range, mu, sigma)
n |
Integer value specifying the number of samples. |
range |
Vector with two values specifying the truncated range (lower bound and upper bound). |
mu |
Number specifying the mean of the normal distribution. |
sigma |
Number specifying the standard deviation of the normal distribution. |
Sample values from the truncated normal distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.