rnorm in r code example
Example: rnorm in r
bellCurve = rnorm(n, mean = 0, sd = 1)
hist(bellCurve)
# n : number of samples
# mean : mean of the resulting distribution
# sd : standard deviation of the resulting distribution
bellCurve = rnorm(n, mean = 0, sd = 1)
hist(bellCurve)
# n : number of samples
# mean : mean of the resulting distribution
# sd : standard deviation of the resulting distribution