Find the harmonic mean.
1 | harmonic_mean(x, zero = FALSE, na.rm = FALSE)
|
x |
A numeric vector or data.frame |
zero |
Logical. If TRUE, 0 values are removed. |
na.rm |
Logical. If TRUE, NAs will be removed from the data. If zero is TRUE, na.rm will be overridden to TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.