Matrix where each column contains ranks of the row values.
Syntax: @colranks(m[, o])
m: matrix, vector
o: (optional) o
Return: matrix, vector
Returns a matrix where each column contains the ranks of the values of the corresponding column of m.
The option o controls the direction of the ranking: āaā (ascending - default) or ādā (descending).
Examples
matrix a = @colrank(m1, "d")
Cross-references