geomean: Geometric mean

Description Usage Arguments Value

View source: R/misc.R

Description

Function to return the geometric mean. By default, it only calculates on positive numbers, and gives a warning if there are any NA values or any numbers that are zero or negative.

Usage

1

Arguments

x

numeric vector of positive numbers.

Value

the geometric mean of x


warrenmcg/sleuth-CN documentation built on Jan. 1, 2021, 12:45 p.m.