Description Usage Arguments Value Examples
The order is determined by magnitude of the rows as in a binary system (decreasing)
1 | order_mat_byrow(mat, decreasing = TRUE)
|
mat |
A binary matrix to be ordered by row |
decreasing |
|
a list of res - the ordered matrix from large to small, ord - the order
1 2 3 | themat <- matrix(c(0,1,0,1,0,0,1,1,1,0,1,1),ncol=3)
order_mat_byrow(themat)
order_mat_byrow(themat,decreasing=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.