geomean | R Documentation |
Calculate the geometric mean.
geomean(x, na.rm = c(FALSE, TRUE), ...)
x |
input data (will be considered as a vector). |
na.rm |
a logical value indicating whether NA values should be stripped before the computation proceeds. |
... |
further arguments passed to or from other methods. |
The geometirc mean of the values in x
.
Nikolaos Kourentzes, nikolaos@kourentzes.com.
geomean(c(0.5,1,1.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.