Calculate the Geometric Mean

Share:

Description

A trivial one-line function for exp(mean(log()))

Usage

1

Arguments

x

a vector of numeric values

Value

the geometric mean (a scalar value)

See Also

geometric.mean

Examples

1
geomean(rnorm(20,5))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.