hmean: Harmonic Mean

View source: R/hmean.R

hmeanR Documentation

Harmonic Mean

Description

Compute the harmonic mean accoring to the EPA DFLOW manual.

Usage

hmean(x, na.rm = FALSE)

Arguments

x

the data to compute the harmonic mean.

na.rm

a logical value indicating whether NA values should be removed before computation.

Value

The harmonic mean of x.

References

Rossman, L.A., No Date, DFLOW user's manual: U.S. Environmental Protection Agency, Cincinnati, Ohio, 26 p.


USGS-R/DVstats documentation built on Oct. 11, 2022, 6:03 a.m.