View source: R/002-pk.business.rules.R
geomean | R Documentation |
Compute the geometric mean, sd, and CV
geomean(x, na.rm = FALSE)
geosd(x, na.rm = FALSE)
geocv(x, na.rm = FALSE)
x |
A vector to compute the geometric mean of |
na.rm |
Should missing values be removed? |
The scalar value of the geometric mean, geometric standard deviation, or geometric coefficient of variation.
geosd()
: Compute the geometric standard deviation, exp(sd(log(x)))
.
geocv()
: Compute the geometric coefficient of variation,
sqrt(exp(sd(log(x))^2)-1)*100
.
Kirkwood T. B.L. Geometric means and measures of dispersion. Biometrics 1979; 35: 908-909
geomean(1:3)
geosd(1:3)
geocv(1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.