powered by
A trivial one-line function for exp(mean(log()))
geomean(x)
the geometric mean (a scalar value).
a vector of numeric values.
geometric.mean
geomean(rnorm(20,5))
Run the code above in your browser using DataLab