lnorm_sd: Standard deviation of lognormal distribution

View source: R/lnorm_sd.r

lnorm_sdR Documentation

Standard deviation of lognormal distribution

Description

Standard deviation of lognormal distribution x, given the mean (mu) and standard deviation (sigma) of log(x). Bolker 2008 page 137

Usage

lnorm_sd(mu, sigma)

Arguments

mu

mean of log(x)

sigma

standard deviation of log(x)

Author(s)

Nikolai Klibansky

References

Bolker, B. M. 2008. Ecological Models and Data in R. Princeton University Press, Princeton, NJ. Page 137

Examples

set.seed(1234)
x <- rnorm(1000,mean=100,sd=3)
m <- mean(log(x))
s <- sd(log(x))
lnorm_sd(mu=m,sigma=s)

nikolaifish/bamExtras documentation built on July 21, 2023, 8:26 a.m.