sortIndex {matchingR} | R Documentation |
Within each column of a matrix, this function returns the indices of each element in descending order
sortIndex(u)
u |
is the input matrix with cardinal preferences |
a matrix with sorted indices (the agents' ordinal preferences)