Calculate geometric mean
gm(x)
x
The geometric mean. NA is returned if there are any non-positive elements in x.
NA
gm(c(0.5, 7, 8, 5))
Justin Wilkins, justin.wilkins@occams.com
Useful links