g_mean: Geometric mean

Description Usage Arguments Value Author(s) Examples

Description

get a geometric mean

Usage

1
g_mean(x, na.rm = FALSE)

Arguments

x

is a numeric value, could be a a vector or data.frame

na.rm

Should missing values be removed.

Value

a geometric mean

Author(s)

Oscar Ramirez Alan (osoramirez@gmail.com).

Examples

1
2
x<-rnorm(25,2,3)
g_mean(x)

osoramirez/resumeRdesc documentation built on May 31, 2019, 5:13 p.m.