View source: R/sorting_utils.R
| calculate_indep_sum_value_order | R Documentation |
Calculate independent variable ordering based on multiple category values
calculate_indep_sum_value_order(
data,
category_values,
indep_col,
descend_indep = FALSE
)
data |
Dataset |
category_values |
Vector of category values to sum |
indep_col |
Name of the independent variable column |
descend_indep |
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.