owa(x, w = rep(1/length(x), length(x))) wam(x, w = rep(1/length(x), length(x)))
x,
with elements in $[0,1]$, and such that $\sum_i
w_i=1$; weightsx.The WAM operator is given by $$\mathsf{WAM}_\mathtt{w}(\mathtt{x})=\sum_{i=1}^{n} w_{i}x_{i}$$
If the elements of w does not sum up to $1$,
then they are normalized and a warning is generated.
Both functions return the ordinary arithmetic mean by
default. Special cases of OWA include the trimmed mean
(cf. mean) and winsorized mean.
There is a strong connection between the OWA operators and the Choquet integrals.
owmax,
owmin, wmax,
wmin