geomean: geomean log-normal bias corrected geometric mean of a vector

View source: R/rutils.R

geomeanR Documentation

geomean log-normal bias corrected geometric mean of a vector

Description

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

Usage

geomean(invect)

Arguments

invect

is a vector of numbers in linear space.

Value

The bias-corrected geometric mean of the vector

Examples

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

## End(Not run)

haddonm/rutilsMH documentation built on July 21, 2023, 8:46 p.m.