View source: R/sorting_utils.R
| arrange_with_order | R Documentation |
Unified helper to consistently handle ascending/descending sort order across all sorting functions.
arrange_with_order(data, order_col, descend = FALSE)
data |
Dataset to arrange |
order_col |
Symbol/name of the column to sort by |
descend |
Whether to sort in descending order |
Arranged dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.