Geometric Mean In R Package, , … Here is a vectorized, zero- and NA-tolerant function for calculating geometric mean in R.