Calculate geometric mean of a vector
Examples
# Find the geometric mean for a variable in Theoph
geomean(Theoph$Wt)
#> [1] 68.98671
geomean(c(1, 2, 3, 4, 5))
#> [1] 2.605171
Calculate geometric mean of a vector
# Find the geometric mean for a variable in Theoph
geomean(Theoph$Wt)
#> [1] 68.98671
geomean(c(1, 2, 3, 4, 5))
#> [1] 2.605171