powered by
Compute the harmonic mean
hmean(x, ...)
a numeric vector containing the values whose harmonic mean is to be computed
further arguments passed to or from other methods #' @details Any NA values are stripped from x before computation takes place.
x
Returns the harmonic mean of x
gmean mean
gmean
mean
hmean(mtcars$mpg)
Run the code above in your browser using DataLab