Learn R Programming

matchingR (version 1.0.1)

rankIndex: Rank elements within row of a matrix

Description

This function returns the rank of each element within each row of a matrix. The highest element receives the highest rank.

Usage

rankIndex(sortedIdx)

Arguments

sortedIdx
is the input matrix

Value

  • a rank matrix