reorder_columns_by_names | R Documentation |
Reorder a matrix with column names by a character vector
reorder_columns_by_names(mat, names)
mat |
a |
names |
a |
a matrix
with the same data but reordered columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.