Geometric mean, with optional removal of NA's and propagation of zeros.
Usage
geoMean(x, prop0 = FALSE, na.rm = TRUE)
Value
Numeric.
Arguments
x
Numeric list.
prop0
Logical, if FALSE (default) then if any value in x equals 0 then the output will be zero. If TRUE, then zero values will be removed before calculation of the geometric mean.