rankIndex function

Rank elements within column of a matrix

Rank elements within column of a matrix

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

rankIndex(sortedIdx)

Arguments

  • sortedIdx: is the input matrix

Returns

a rank matrix

  • Maintainer: Jan Tilly
  • License: GPL (>= 2)
  • Last published: 2021-05-25