R/calc_geom_mean.R
calc_geom_mean.Rd
Calculate the geometric mean
calc_geom_mean(values)
a numeric vector of values
returns the geometric mean if all values are at least zero, else returns NA
Richèl J.C. Bilderbeek