rnorm_perfect | R Documentation |
Random generation for a perfect normal distribution with mean equal to mean and standard deviation equal to sd.
rnorm_perfect(n, mean = 0, sd = 1)
n |
number of observations. If length(n) > 1, the length is taken to be the number required. |
mean |
number of mean. |
sd |
number of standard deviation. |
The function will return the same set of quantiles for fixed n. In that sense there is not much randomness going on, and the function is mostly useful for illustrative purposes.
Returns a vector of values from a perfect normal distribution
Claus Ekstrom claus@rprimer.dk
rnorm_perfect(30, mean=10, sd=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.