rtnorm | R Documentation |
Truncate normal distribution at a minimum or maximum value
rtnorm(n, mean, sd, a = -Inf, b = Inf)
n |
Number of samples to be drawn |
mean |
Mean value of normal distribution |
sd |
Standard deviation of Normal distribution |
a |
Minimum of distribution (Default is -Inf) |
b |
Maximum of distribution (Default is Inf) |
numeric vector of length n with randomly drawn numbers of the truncated normal distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.