gm_mean: Geometric mean

View source: R/stat.R

gm_meanR Documentation

Geometric mean

Description

This function calculates the geometric mean of the numeric vector 'x'.

Usage

gm_mean(x, na.rm = TRUE)

Arguments

x

a numeric vector

na.rm

logical. Whether missing values should be removed.


ameliabedelia/amelia documentation built on June 29, 2023, 9:07 a.m.