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