Log-Normal Random Samples

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] 0.4061860 3.0573406 3.0913946 0.7117238 0.2569595 0.3435588 0.8075607
#>  [8] 3.9532843 1.2237435 0.3133526