Skip to contents

Log-Normal Random Samples

Usage

ran_lnorm(n = 1, meanlog = 0, sdlog = 1)

Arguments

n

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

meanlog

A numeric vector of the means on the log scale.

sdlog

A non-negative numeric vector of the standard deviations on the log scale.

Value

A numeric vector of the random samples.

Examples

ran_lnorm(10)
#>  [1] 1.6300795 0.1827839 0.2297563 1.3286327 3.8088237 1.2670562 3.7370382
#>  [8] 1.6886169 1.8344561 0.8958918