sort_rows | R Documentation |
Functions sort selected lines. And sort numbers as numbers not alphabetically.
rs_sort_rows(
decreasing = FALSE,
numeric.type = "decimal",
context = rs_get_context()
)
rs_sort_rows_ascending(context = rs_get_context())
rs_sort_rows_descending(context = rs_get_context())
decreasing |
logical. Should the sort be increasing or decreasing?
Note that |
numeric.type |
either "decimal" (default) or "roman". Are numeric
values represented as decimal numbers ( |
context |
(class |
Inspired by https://github.com/dcomtois/sortLines.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.