Skip to contents

Normal Random Samples

Usage

ran_norm(n = 1, mean = 0, sd = 1)

Arguments

n

A non-negative whole number of the number of random samples to generate.

mean

A numeric vector of the means.

sd

A non-negative numeric vector of the standard deviations.

Value

A numeric vector of the random samples.

Examples

ran_norm(10)
#>  [1]  0.15517007 -1.49792119 -0.72809647 -0.49033117  0.55795526 -0.95207248
#>  [7] -0.27749055  0.03120879  1.84763796 -2.36796952