Geometric Mean
gmean(x, trim = 0, na.rm = FALSE, zero.rm = TRUE)A numeric vector.
A numeric vector.
A length-one numeric vector specifying the fraction (0 to 0.5)
of observations to be trimmed from each end of x before the mean is
computed.
A logical scalar: should NA values be stripped before the
computation proceeds?
A logical scalar: should zeros be stripped before the
computation proceeds?