ds_gmean {descriptr}R Documentation

Geometric Mean

Description

Computes the geometric mean

Usage

ds_gmean(data, x = NULL)

Arguments

data

A numeric vector or data.frame.

x

Column in data.

See Also

ds_hmean mean

Examples

# vector
ds_gmean(mtcars$mpg)

# data.frame
ds_gmean(mtcars, mpg)


[Package descriptr version 0.6.0 Index]