gmean | R Documentation |
Compute geometric mean of a vector
using exp(mean(log(.x)))
format
gmean(vec)
vec |
A vector of values with length |
A numeric value of the
geometric mean of the vector vec
ex <- abs(rnorm(10)) gmean(ex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.