GeometricMean: GeometricMean

Description Usage Arguments Value Author(s) References Examples

View source: R/MetricsforPackage.R

Description

Calculates the geometric mean (the nth root of the product of n values).

Usage

1

Arguments

x

Vector of n values whose geometric mean is to be calculated.

Value

The geometric mean of x.

Author(s)

John Ruscio

References

Ruscio et al. (2012)

Examples

1
GeometricMean(c(1, 3, 9, 27, 81))

RImpact documentation built on May 2, 2019, 2:44 p.m.