Replaces the elements of \(X\) with their rank in the column vector of the distance matrix
Usage
rankmatrix(X, input = c("data", "dist"), use = "C")
Details
Each column vector in the distance matrix (or the distance matrix computed from the input) is replaced by a vector indicating the rank of the distance inside that vector.
This is a computation step necessary for the co-ranking matrix and provided mainly so that the user has the possibility to save computation time.