mean_fct: Switch for arithmetic or geometric mean according to option...

Description Usage Arguments Details Value

Description

Take the numeric vector and return its weighted geometric standard deviation.

Usage

1
mean_fct(x, opt.mean = c("amean", "gmean"))

Arguments

x

a numeric vector.

opt.mean

equals "amean" or "gmean" according to that mean value must be computed with arithmetic or geometric formula. There is no default value.

Details

None.

Value

Return the arithmetic or geometric mean of the vector x according to opt.mean.


BenitoJaillard/combinAna documentation built on May 9, 2019, 2:17 a.m.