R: Sort indices of a matrix within a column

sortIndex {matchingR} | R Documentation

## Sort indices of a matrix within a column

### Description

Within each column of a matrix, this function returns the indices of each element in descending order

### Usage

    sortIndex(u)

### Arguments

`u` | is the input matrix with cardinal preferences

### Value

a matrix with sorted indices (the agents' ordinal preferences)

[Package matchingR version 1.3.2 Index]