Calculate geometric mean of a numeric vector
Arguments
- x
Numeric array to calculate geometric mean for
- na.rm
A logical value indicating whether
NAvalues should be stripped before the computation proceeds- trim
Fraction (0 to 0.5) of observations to be trimmed from each end of
xbefore the mean is computed. Values of trim outside that range are taken as the nearest endpoint
