50% off: Unlimited data and AI learning.
The Learning Leader's Guide to AI Literacy

matchingR (version 1.3.3)

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