Learn R Programming

matchingR (version 1.0.1)

sortIndex: Sort indices of a matrix within row

Description

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

Usage

sortIndex(u)

Arguments

u
is the input matrix

Value

  • a matrix with sorted indicies