to_mu_sd_lnorm {mixR} | R Documentation |
Parameter Conversion for Lognormal Distribution
Description
The function to_mu_sd_lnorm
converts the logarithm mean and logarithm standard deviation to the
mean and standard deviation
Usage
to_mu_sd_lnorm(mulog, sdlog)
Arguments
mulog |
a vector of logarithm means of lognormal distributions |
sdlog |
a vector of logarithm standard deviations of lognormal distributions |
Details
The purpose of this function is to convert the parameterization of lognormal distribution in the form of logarithm mean and logarithm standard deviation to the form of mean and standard deviation.
Value
a list of two items
mu |
a vector of the means of lognormal distributions |
sd |
a vector of the standard deviations of lognormal distributions |
See Also
Examples
to_mu_sd_lnorm(2, 1)
to_mu_sd_lnorm(c(2, 4), c(1, 1))
[Package mixR version 0.2.0 Index]