recode

How to map more informative values onto fill argument of sjPlot::plot_model

Post

Custom function that extends sjPlot to display original categorical variable values in interaction plot legends instead of transformed values, facilitating clearer communication when using sum-coded or other transformed predictors.