Description Usage Arguments Value Author(s) References Examples
View source: R/MetricsforPackage.R
Calculates the harmonic mean (the reciprocal of the arithmetic mean of the reciprocals of n values).
1 | HarmonicMean(x)
|
x |
Vector of n values whose harmonic mean is to be calculated. |
The harmonic mean of x.
John Ruscio
Ruscio et al. (2012)
1 | HarmonicMean(c(1, 3, 9, 27, 81))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.