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-ALR documentation built on Oct. 27, 2020, 4:30 a.m.