geometricMean {transite} | R Documentation |
Calculates the geometric mean of the specified values.
geometricMean(x, na.rm = TRUE)
x |
numeric vector of values for which the geometric mean will be computed |
na.rm |
logical. Should missing values (including |
Geometric mean of x
or 1
if length of x
is 0
geometricMean(c(0.123, 0.441, 0.83))