View source: R/general_functions.R
gm_mean | R Documentation |
calculate geometric mean of a vector
gm_mean(x, na.rm = TRUE)
x |
numeric vector |
na.rm |
logical vector of length 1 |
numeric vector of length 1: geometric mean
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.