The normal distribution is defined as follows:
\[ f(x;\mu,\sigma^2) = \frac{1}{\sigma\sqrt{2\pi}} e^{ -\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2 } \]
To generate random draws from a normal distribution we use the rnorm function:
output <- rnorm(1000, 100, 15)
The normal distribution has the typical bell shape:
ggplot2::qplot(output)
## stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust
## this.