Learn R Programming

wowa (version 1.0.2)

wowa.OWA: Ordered weigted average function

Description

Function for computing the ordered weigted averages

Usage

wowa.OWA(n, x, w)

Arguments

n

Dimension of the vector x

x

The vector of inputs

w

The OWA weights

Value

output

The value of the ordered weighted average.

References

[1]G. Beliakov, H. Bustince, and T. Calvo. A Practical Guide to Averaging Functions. Springer, Berlin, Heidelberg, 2016.

Examples

Run this code
# NOT RUN {
     n <- 4
     wowa.OWA(n, c(0.3,0.4,0.8,0.2), c(0.4,0.35,0.2,0.05))
  
# }

Run the code above in your browser using DataLab