geomMean | R Documentation |
Take the geometric mean of a vector of numbers
geomMean(x, na.rm = TRUE)
x |
A vector of numbers |
na.rm |
A logical scalar. Should missing values (including NaN) be removed? Default is TRUE |
The geometric mean
geomMean(c(1, 2, 3, 4, 5, 6), na.rm = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.