powered by
Compute the geometric mean
ds_gmean(x, na.rm = FALSE, ...)
a numeric vector containing the values whose geometric mean is to be computed
a logical value indicating whether NA values should be stripped before the computation proceeds.
further arguments passed to or from other methods #' @details Any NA values are stripped from x before computation takes place.
x
Returns the geometric mean of x
ds_hmean mean
ds_hmean
mean
# NOT RUN { ds_gmean(mtcars$mpg) # }
Run the code above in your browser using DataLab