sortdataframe | R Documentation |
Sorts a data frame by specified columns
sortdataframe(x, decreasing = FALSE, by = 1, ...)
x |
A data frame |
decreasing |
Logical; should the sort be decreasing? |
by |
Column names or numbers to sort by |
... |
Additional arguments passed to order() |
Sorted data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.