where matrix is a numeric matrix or literal. The RANK function creates a new matrix containing elements that are the ranks of the corresponding elements of matrix. The ranks of tied values are ...