geomean: Calculate the Geometric Mean

View source: R/math.R

geomeanR Documentation

Calculate the Geometric Mean

Description

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

Usage

geomean(x)

Arguments

x

a vector of numeric values

Value

the geometric mean (a scalar value)

See Also

geometric.mean

Examples


geomean(rnorm(20,5))


caroline documentation built on Nov. 9, 2023, 9:07 a.m.

Related to geomean in caroline...