powered by
Computes the geometric mean
ds_gmean(x, data = NULL, na.rm = FALSE, ...)
a numeric vector
a data.frame or tibble
data.frame
tibble
a logical value indicating whether NA values should be stripped before the computation proceeds.
further arguments passed to or from other methods
ds_hmean mean
ds_hmean
mean
# NOT RUN { ds_gmean(mtcars$mpg) ds_gmean(mpg, mtcars) # }
Run the code above in your browser using DataLab