geomean | R Documentation |
Geometric Mean
geomean(x, na.rm = FALSE)
x |
numeric value |
na.rm |
logical (default to TRUE) to omit NA entries |
Geometric mean of vector x
set.seed(1234)
x = rlnorm(1000)
mean(x)
geomean(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.