to_mu_sd_lnorm | R Documentation |
The function to_mu_sd_lnorm
converts the logarithm mean and logarithm standard deviation to the
mean and standard deviation
to_mu_sd_lnorm(mulog, sdlog)
mulog |
a vector of logarithm means of lognormal distributions |
sdlog |
a vector of logarithm standard deviations of lognormal distributions |
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.
a list of two items
mu |
a vector of the means of lognormal distributions |
sd |
a vector of the standard deviations of lognormal distributions |
to_mulog_sdlog_lnorm
to_mu_sd_lnorm(2, 1)
to_mu_sd_lnorm(c(2, 4), c(1, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.