cumhmean: Cumulative Harmonic Mean

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/cumhmean.R

Description

Returns a vector whose elements are the cumulative harmonic mean of the elements of the argument.

Usage

1

Arguments

x

a numeric vector

Value

A numeric vector of the same length as x. An NA value in x causes the corresponding and following elements of the return value to be NA.

Author(s)

Arturo Erdely, arturo.erdely@comunidad.unam.mx

References

Kotz, S., Balakrishnan, N., Read, C.B, Vidakovic, B., Johnson, N.L. (2006) Encyclopedia of Statistical Sciences. Wiley, New Jersey.

See Also

cumgmean for cummulative geometric mean, and cummean for cummulative mean.

Examples

1
cumhmean(c(9, 1, 4, 0, 3, NA, 8, 5))

carian2996/cumstats documentation built on June 5, 2020, 9:06 a.m.