View source: R/GeomMean_HarmMean.R
HarmMean | R Documentation |
Function to calculate harmonic mean with NAs removed.
HarmMean(x, verbose = FALSE)
x |
|
verbose |
|
If x has any 0's, then 0 is returned. Otherwise 1/(mean(1/x,na.rm=TRUE)).
a numeric value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.