H.mean: Harmonic mean

View source: R/H.mean.R

H.meanR Documentation

Harmonic mean

Description

Calculates the harmonic mean.

Usage

H.mean(x)

Arguments

x

Vector of quantitative data.

Value

Returns the harmonic mean.

Author(s)

Ken Aho

See Also

G.mean, HL.mean

Examples

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

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