means: Geometric and harmonic mean

geometricMeanR Documentation

Geometric and harmonic mean

Description

Description needed.

Usage

geometricMean(x, ...)

harmonicMean(x, ...)

Arguments

x

A numeric vector.

...

Additional arguments to prod or mean.

Value

A numeric vector of length one.

Note

these have not been thoroughly tested to handle NA values, etc.

Author(s)

Alex Chubaty

Examples

series <- 1:10
mean(series)
geometricMean(series)
harmonicMean(series)


achubaty/amc documentation built on June 10, 2025, 1:10 p.m.