unisort {runibic} | R Documentation |
This function sorts separately each row of a integer matrix and returns a matrix in which the value in i-th row and j-th column represent the index of the j-th smallest value of the i-th row.
unisort(x)
x |
a integer matrix |
a integer matrix with indexes indicating positions of j-th smallest element in each row
runibic
calculateLCS
runiDiscretize
A <- matrix(c(4, 3, 1, 2, 5, 8, 6, 7), nrow=2, byrow=TRUE) unisort(A)