geomean: Geometric Mean

View source: R/geomean.R

geomeanR Documentation

Geometric Mean

Description

Calculate geometric mean.

Usage

geomean(x, na.rm = FALSE)

Arguments

x

a numeric vector.

na.rm

whether NA values should be stripped before the computation proceeds.

Value

Geometric mean as a vector.


arni-magnusson/arni documentation built on Nov. 3, 2023, 7:35 p.m.