order2rank {ConsRank} | R Documentation |
From ordering to rank. IMPORTANT: check which symbol denotes tied rankings in the X matrix
order2rank(X, TO = "{", TC = "}")
X |
A ordering or a matrix containing orderings |
TO |
symbol indicating the start of a set of items ranked in a tie |
TC |
symbol indicating the end of a set of items ranked in a tie |
a ranking or a matrix of rankings:
R | ranking or matrix of rankings |
Antonio D'Ambrosio antdambr@unina.it
data(APAred)
ord=rank2order(APAred) #transform rankings into orderings
ran=order2rank(ord) #transform the orderings into rankings