Learn R Programming

convdistr (version 1.6.1)

LOGNORMAL: Factory for a LOGNORMAL distribution object

Description

Returns a LOGNORMAL distribution object that produce random numbers from a log normal distribution using the rlnorm function

Usage

new_LOGNORMAL(p_meanlog, p_sdlog, p_dimnames = "rvar")

Value

An object of class DISTRIBUTION, LOGNORMAL

Arguments

p_meanlog

mean of the distribution on the log scale

p_sdlog

A numeric that represents the standard deviation on the log scale

p_dimnames

A character that represents the name of the dimension

Author

John J. Aponte

Examples

Run this code
myDistr <- new_LOGNORMAL(0,1)
myDistr$rfunc(10)

Run the code above in your browser using DataLab