normal | R Documentation |
Generate n pseudo random numbers from a normal distribution with mean 'mu' and standard deviation 'sd'
normal(n = 1, mu = 0, sd = 1, seed = as.integer(Sys.time()))
n |
the number of pseudo random normal variants to generate. Defaults to 1. |
mu |
mean of normal distribution. Defaults to 0. |
sd |
standard deviation of normal distribution. Defaults to 1. |
seed |
Seed for pseudo random number generating algorithm. Defaults to a integer generated from the system time |
vector of PRNs from specified normal distribution of length n
normal(n=1e6, mu=0, sd = 3, seed = 122)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.