Given a ranking, it computes the score matrix as defined by Emond and Mason (2002)
a ranking (must be a row vector or, better, a matrix with one row and M columns)
the M by M score matrix
Antonio D'Ambrosio <firstname.lastname@example.org> and Sonia Amodio <email@example.com>
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.
1 2 3 4 5