Sort matric columns and/or rows alphabetically
1 | alphabetise_matrix(x, by = c("rows", "columns", "both"))
|
x |
A matrix. |
by |
Whether to sort by rows, columns or both. Supports argument matching on any unique substring. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.