Description Usage Arguments Details Value Examples
This is a convenience function for ordering rows and columns within a matrix.
1 |
m |
A matrix whose rows and/or columns are to be arranged |
order.rows |
Whether rows are to be ordered. Defaults to TRUE |
order.cols |
Whether columns are to be ordered. Defaults to TRUE |
comparator |
A function to define the ordering. Currently unused |
To ensure proper operations are performed, the ordering of rows and columns within matrix operands must be consistent. Arrange conveniently performs this ordering.
In the future, a comparator will be added so that custom orderings can be applied to the function.
A matrix whose rows and/or columns have been ordered. By default, both rows and columns are ordered.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.