combinpmatr: Combined input matrix of a data set

combinpmatrR Documentation

Combined input matrix of a data set

Description

Compute the Combined input matrix of a data set as defined by Emond and Mason (2002)

Usage

combinpmatr(X, Wk = NULL)

Arguments

X

A data matrix N by M, in which there are N judges and M objects to be judged. Each row is a ranking of the objects which are represented by the columns. Alternatively X can contain the rankings observed only once. In this case the argument Wk must be used

Wk

Optional: the frequency of each ranking in the data

Value

The M by M combined input matrix

Author(s)

Antonio D'Ambrosio antdambr@unina.it

References

Emond, E. J., and Mason, D. W. (2002). A new rank correlation coefficient with application to the consensus ranking problem. Journal of Multi-Criteria Decision Analysis, 11(1), 17-28.

See Also

tabulaterows frequency distribution of a ranking data.

Examples

data(APAred) 
CI<-combinpmatr(APAred) 
TR<-tabulaterows(APAred) 
CI<-combinpmatr(TR$X,TR$Wk)


ConsRank documentation built on March 31, 2023, 7:25 p.m.