View source: R/mean_geometric.R
mean_geometric | R Documentation |
Function to calculate the geometric mean of a numeric vector.
mean_geometric(x, na.rm = FALSE)
x |
Numeric vector. |
na.rm |
Should |
Numeric vector with a length of one.
Stuart K. Grange and Steven P. Millard.
https://github.com/cran/EnvStats/blob/master/R/geoMean.R.
mean_geometric(sample(1:500, size = 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.