Learn R Programming

matchingR (version 2.0.0)

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)

Value

a rank matrix

Arguments

sortedIdx

is the input matrix