Compute the geometric mean

ds_gmean(x, na.rm = FALSE, ...)

## Arguments

x |
a numeric vector containing the values whose geometric mean is to be
computed |

na.rm |
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. |

## Value

Returns the geometric mean of `x`

## Deprecated function

`gmean()`

has been deprecated. Instead use `ds_gmean()`

.

## See also

`ds_hmean`

`mean`

## Examples

ds_gmean(mtcars$mpg)

#> [1] 19.25006