geomean: geomean: the geometric mean of a vector corrected for...

Description Usage Arguments Value Examples

View source: R/cpuefuncs.r

Description

Calculate the geometric mean of a vector corrected for log-normal bias. NAs and zeros are removed from consideration.

Usage

1
geomean(invect)

Arguments

invect

is a vector of numbers in linear space.

Value

The bias-corrected geometric mean of the vector

Examples

1
2
x <- c(1,2,3,4,5,6,7,8,9)
geomean(x)

haddonm/r4cpue documentation built on May 11, 2020, 1:31 a.m.