Skip to contents

This function computes the harmonic mean of a numeric input vector x.

Usage

harm.mean(x)

Arguments

x

a numeric vector for which harmonic mean computations shall be performed.

Author

Hajk-Georg Drost

Examples

x <- 1:10

harm.mean(x)
#> [1] 3.414172