scorematrix: Score matrix according Emond and Mason (2002)

Description Usage Arguments Value Author(s) References Examples

Description

Given a ranking, it computes the score matrix as defined by Emond and Mason (2002)

Usage

1

Arguments

X

a ranking (must be a row vector or, better, a matrix with one row and M columns)

Value

the M by M score matrix

Author(s)

Antonio D'Ambrosio <antdambr@unina.it> and Sonia Amodio <sonia.amodio@unina.it>

References

Emond, E. J., & 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.

Examples

1
2
3
4
5
Y = matrix(c(1,3,5,4,2),1,5)
SM=scorematrix(Y)

Z=c(1,2,4,3)
SM2=scorematrix(Z)


Search within the ConsRank package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.