hmean | R Documentation |
Calculates harmonic mean and its standard error.
hmean(x, na.rm = TRUE)
x |
A vector of positive numbers. |
na.rm |
A logical ( |
A list with values mean
and se
.
data(BCI_speed_data)
agoutiData <- subset(BCI_speed_data, species=="agouti")
hmean(agoutiData$speed)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.