View source: R/sorting_utils.R
| add_indep_order | R Documentation |
Add independent variable category ordering
add_indep_order(data, sort_by = ".factor_order", descend = FALSE)
data |
Dataset |
sort_by |
Sorting method for independent categories (NULL = no sorting) |
descend |
Whether to reverse the order |
Dataset with .indep_order column added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.