geomean: Geometric mean

Description Usage Arguments Value Author(s) Examples

View source: R/geomean.R

Description

Calculate geometric mean.

Usage

1
geomean(x,na.rm=c(FALSE,TRUE))

Arguments

x

Input data.

na.rm

a logical value indication whether NA values should be stripped before the computation proceeds.

Value

gm

Geometric mean result.

Author(s)

Nikolaos Kourentzes

Examples

1
geomean(c(0.7,1.1,1.3,1.2))

trnnick/TStools documentation built on Oct. 30, 2018, 9:26 p.m.