row.sort | R Documentation |
Came from stackoverflow https://stackoverflow.com/questions/9506442/fastest-way-to-sort-each-row-of-a-large-matrix-in-r Rfast::rowsort is faster than the base function but it is still very fast
row.sort(a, use_rfast = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.