Learn R Programming

extras (version 0.7.3)

ran_lnorm: Log-Normal Random Samples

Description

Log-Normal Random Samples

Usage

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

Value

A numeric vector of the random samples.

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.

See Also

Other ran_dist: ran_bern(), ran_beta_binom(), ran_binom(), ran_gamma(), ran_gamma_pois(), ran_gamma_pois_zi(), ran_neg_binom(), ran_norm(), ran_pois(), ran_pois_zi(), ran_skewnorm(), ran_student()

Examples

Run this code
ran_lnorm(10)

Run the code above in your browser using DataLab