Description Usage Arguments Value Author(s) References See Also Examples

View source: R/ALL.r View source: R/scorematrix.R

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

1 | ```
scorematrix(X)
``` |

`X` |
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 [email protected]

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.

`combinpmatr`

The combined inut matrix

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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.