R/RcppExports.R
gmean.Rd
Compute geometric mean of a vector using exp(mean(log(.x))) format
exp(mean(log(.x)))
gmean(vec)
A vector of values with length n
n
A numeric value of the geometric mean of the vector vec
vec
ex <- abs(rnorm(10)) gmean(ex) #> [1] 0.7043728