powered by
Function for calculating the Weighted Arithmetic Mean
wowa.WAM(n, x, w)
Dimension of the array x
The vector of inputs
The vector of weights
The value of the WAM function
[1]G. Beliakov, H. Bustince, and T. Calvo. A Practical Guide to Averaging Functions. Springer, Berlin, Heidelberg, 2016.
# NOT RUN { n <- 4 wowa.WAM(n, c(0.3,0.4,0.8,0.2), c(0.3,0.25,0.3,0.15) ) # }
Run the code above in your browser using DataLab