Search notes:

R function: var

var(rnorm(1000000, mean = 0, sd = 5))
#
#  We expect a result of ca 25 (= sd * sd)
#
Github repository about-r, path: /functions/var.R

See also

rnorm(…)
Index to (some) R functions

Index