Learn R Programming

matchingR (version 1.1.1)

rankIndex: Rank elements within column of a matrix

Description

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

Usage

rankIndex(sortedIdx)

Arguments

sortedIdx
is the input matrix

Value

  • a rank matrix