ds_gmean: Geometric Mean

Description Usage Arguments See Also Examples

View source: R/ds-describe.R

Description

Computes the geometric mean

Usage

1

Arguments

data

A numeric vector or data.frame.

x

Column in data.

See Also

ds_hmean mean

Examples

1
2
3
4
5
# vector
ds_gmean(mtcars$mpg)

# data.frame
ds_gmean(mtcars, mpg)

rsquaredacademy/descriptr documentation built on July 9, 2021, 8:13 p.m.