| mean_fct | R Documentation |
Switch for arithmetic or geometric mean according
to opt.mean = "amean" or opt.mean = "gmean", respectively.
mean_fct(x, opt.mean = c("amean", "gmean"))
x |
a numeric vector. |
opt.mean |
equals to |
None.
Return the arithmetic or geometric mean
of the numeric vector x
according to opt.mean = "amean" or
opt.mean = "gmean".