Calculate independent variable ordering based on a specific column value
calculate_indep_column_order(
data,
column_name,
indep_col,
descend_indep = FALSE
)Numeric vector of ordering values
Dataset
Name of the column to sort by
Name of the independent variable column
Logical indicating if sorting should be descending