lnorm_cv: Coefficient of variation (cv) of lognormal distribution

View source: R/lnorm_cv.r

lnorm_cvR Documentation

Coefficient of variation (cv) of lognormal distribution

Description

Coefficient of variation (cv) of lognormal distribution x, given the standard deviation (sigma) of log(x). Bolker 2008 page 137

Usage

lnorm_cv(sigma)

Arguments

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

## Not run: 
set.seed(1234)
x <- rnorm(1000,mean=100,sd=3)
s <- sd(log(x))
lnorm_cv(sigma=s)

## End(Not run)


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