orderMatrix | R Documentation |
Order Matrix
orderMatrix(matrix, order.dist = "minkowski", p = 1, return.order = FALSE)
matrix |
A matrix. |
order.dist |
Distance measure to be used. Default is "minkowski". See details |
p |
Power of Minkowski distance Default is 1, aka Manhattan distance. See details |
return.order |
Whether to return the matrix order. Default is FALSE. |
See seriate
.
Returns a matrix or list containing ordered matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.