View source: R/sorting_utils.R
| calculate_multiple_category_order | R Documentation |
Calculate ordering based on multiple category values
calculate_multiple_category_order(data, category_values, descend = FALSE)
data |
Dataset with .category and .count columns |
category_values |
Vector of category values to sum (e.g., c("A bit", "A lot")) |
descend |
Logical indicating if sorting should be descending |
Numeric vector of ordering values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.