strengejacke / sjPlot

sjPlot - Data Visualization for Statistics in Social Science

Home Page:https://strengejacke.github.io/sjPlot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

order random intercepts by fixed effect group

cperk opened this issue · comments

commented

Hi!

I looked through all the old issues but couldn't find a fix; in plot_model(), would you be able to add the option to order the random intercepts by a fixed effect? For example in a model with a categorical fixed effect with 2 levels (A and B) and Subject as the random effect, where subjects belong to groups A and B, such that the random intercepts for subjects in group A are shown above those in group B.

Thanks!!