Skip to contents

Geometric mean

Usage

gmean(x)

Arguments

x

Numeric vector

Author

EDG

Examples

if (FALSE) { # \dontrun{
x <- c(1, 3, 5)
mean(x)
gmean(x)
# same as, but a little faster than:
exp(mean(log(x)))
} # }