Normal Random Samples

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.36591733 -0.03313625 -0.13743502  2.11592539  0.48697022  0.14354284
#>  [7]  0.48842903 -0.10283386  0.66471106  1.11765660