my.harmonic.mean: Calculate the hermonic mean of a (numeric) vector. Use-case:...

Description Usage Arguments Value

View source: R/myDescriptiveStatistics.R

Description

Calculate the hermonic mean of a (numeric) vector. Use-case: A 2x2km square. Walk along all sides; 1km/h, 2, 4, 1km/h. What is the average speed?

Usage

1
my.harmonic.mean(src.vector)

Arguments

src.vector

; A numeric vector to calculate the arithmetic mean over.

Value

numeric ; The Hermonic mean of 'src.vector'.


vanNijnatten/Learn-Statistics documentation built on Dec. 23, 2021, 2:09 p.m.