d2owa_checkwts {agop} | R Documentation |

## D2OWA Operators

### Description

Calculates the D2OWA operator, i.e. the normalized L2 distance between a numeric vector and an OWA operator.

### Usage

d2owa_checkwts(w) d2owa(x, w = rep(1/length(x), length(x)))

### Arguments

`w` |
numeric vector of the same length as |

`x` |
numeric vector to be aggregated |

### Details

D2OWA is a symmetric dispersion function
It is defined as
`d2owa(x) == sqrt(mean((x-owa(x,w))^2))`

.
Not all weights, however, generate a proper function of this kind;
`d2owa_checkwts`

may be used to check that.
For `d2owa`

, if `w`

is not proper, an error is thrown.

`w`

is automatically normalized so that its elements sums up to 1.

### Value

For `d2owa`

, a single numeric value is returned.
On the other hand, `d2owa_checkwts`

returns a single logical value.

### References

Gagolewski M., *Symmetric dispersion operators*, in preparation, 2013.

Yager R.R., On ordered weighted averaging aggregation operators
in multicriteria decision making, *IEEE Transactions on Systems,
Man, and Cybernetics* 18(1), 1988, pp. 183-190.

### See Also

Other dispersion_functions: `pord_spread`

,
`pord_spreadsym`

*agop*version 0.2-0 Index]