This function computes the geometric mean of a numeric input vector x.

geom.mean(x)

Arguments

x

a numeric vector for which geometric mean computations shall be performed.

Author

Hajk-Georg Drost

Examples

x <- 1:10

geom.mean(x)
#> [1] 4.528729