sortrows | R Documentation |
Emulates the behavior of the sortrows
function on Matlab
sortrows(A, column = 1)
A |
matrix |
column |
ordering column |
The A matrix sorted by the first row, then the second
mx <- matrix(c(3, 2, 2, 1, 1, 10, 0, pi), 4) mx sortrows(mx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.