Search notes:

R function: rnorm

rnorm generates a vector of normally distributed random numbers.
rnorm can take up to three arguments:
set.seed(…) can be used to set a seed for the random number generator.
# rnorm: the normal distribution
#
# see also -> sd() and -> var()

n <- rnorm(1000000, mean = 100, sd = 36)

x11();
hist(n, breaks = 51, col = "orange", main = "rnorm")

z <- locator(1) # wait for mouse click or enter pressed
Github repository about-r, path: /functions/rnorm.R

See also

Random numbers (distribution)
sd(…) and var(…)
Index to (some) R functions
The Oracle function dbms_random.

Index