Geometric mean {GCDkit}R Documentation

Geometric mean

Description

A function to calculate the geometric mean.

Usage

gMean(x)

Arguments

x

a numeric vector

Details

The function returns a geometric mean of the given numeric vector. The NA values are removed beforehand.

Value

Geometric mean.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

See Also

mean


[Package GCDkit version 4.1 Index]