R/ds-describe.R
ds_gmean.Rd
Computes the geometric mean
ds_gmean(data, x = NULL)
A numeric vector or data.frame.
data.frame
Column in data.
data
ds_hmean mean
ds_hmean
mean
# vector ds_gmean(mtcars$mpg) #> [1] 19.25006 # data.frame ds_gmean(mtcars, mpg) #> [1] 19.25006