Calculate independent variable ordering based on a specific category value
calculate_indep_category_order(
data,
category_value,
indep_col,
descend_indep = FALSE
)Numeric vector of ordering values
Dataset with independent variable columns
The category value to sort by (e.g., "Not at all")
Name of the independent variable column
Logical indicating if sorting should be descending