G.mean: Geometric mean

View source: R/G.mean.R

G.meanR Documentation

Geometric mean

Description

Calculates the geometric mean.

Usage

G.mean(x)

Arguments

x

A vector of quantitative data.

Value

Returns the geometric mean.

Author(s)

Ken Aho

See Also

H.mean, HL.mean

Examples

x<-c(2,1,4,5,6,2.4,7,2.2,.002,15,17,.001)
G.mean(x)

asbio documentation built on May 29, 2024, 5:57 a.m.