WOWATree: Weighted extension of the OWA function

Description Usage Arguments Value Author(s) Examples

Description

Function for extending order weigted averages and other multivariate symmetric functions

Usage

1
  wowa.WOWATree(x, p, w, n, Fn, L)

Arguments

x

The vector of inputs

p

The weights of inputs x

w

The OWA weightings vector

n

The dimension of the vector x

Fn

Base n-variate symmetric function defined in R

L

The number of levels of the n-ary tree (see docs)

Value

output

The output is the weighted ordered weigted average.

Author(s)

Gleb Beliakov, Daniela L. Calderon, Deakin University

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
  
      Fn <- function(n, x, w) {
  	  out <- 0.0
	  for(i in 1:n) out<- out+x[i]*w[i];
	  #print(out)
          return(out)
       }
      n <- 4

        example <- wowa.WOWATree(c(0.3,0.4,0.8,0.2), c(0.3,0.25,0.3,0.15), 
                   c(0.4,0.35,0.2,0.05), n, Fn,  10)
	example
    
  

wowa documentation built on Feb. 5, 2021, 5:07 p.m.

Related to WOWATree in wowa...