Auxiliary function for calculating geometric mean with possibility to handle -Inf
Arguments
- x
numeric vector
- fixed
flag should be add fix for -Inf
- maxlog10Concentration
numeric value needed to calculate minimal value
Examples
geometric_mean(c(2, 8))
#> [1] 4