sortIndex: Sort indices of a matrix within a column

View source: R/RcppExports.R

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


jtilly/matchingR documentation built on Feb. 15, 2023, 3:24 a.m.