combinpmatr | R Documentation |
Compute the Combined input matrix of a data set as defined by Emond and Mason (2002)
combinpmatr(X, Wk = NULL)
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 |
The M by M combined input matrix
Antonio D'Ambrosio antdambr@unina.it
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.
tabulaterows
frequency distribution of a ranking data.
data(APAred)
CI<-combinpmatr(APAred)
TR<-tabulaterows(APAred)
CI<-combinpmatr(TR$X,TR$Wk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.