different_means | R Documentation |
Functions to determine harmonic and geometric means.
mean_harmonic(x, ..., na.rm = getOption("na.rm", FALSE))
mean_geometric(x, ..., na.rm = getOption("na.rm", FALSE))
x |
numeric vector |
... |
arguments passed on to |
na.rm |
ignore empty values |
The harmonic mean can be expressed as the reciprocal of the arithmetic mean of the reciprocals.
The geometric mean is defined as the nth root of the product of n numbers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.