geometric_mean | R Documentation |
Calculates the geometric mean of the specified values.
geometric_mean(x, na_rm = TRUE)
x |
numeric vector of values for which the geometric mean will be computed |
na_rm |
logical. Should missing values (including NaN) be removed? |
Geometric mean of x
or 1
if length of x
is 0
geometric_mean(c(0.123, 0.441, 0.83))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.