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]  2.1268505  0.4248584 -1.6842815  0.2494018  1.0728383  2.0393693
#>  [7]  0.4494538  1.3918140  0.4265665  0.1075840