1
$\begingroup$

For example I have the lmer model

m2 <- lmer(avg_rent ~ avg_age + avg_mrt_dist_f + avg_age:avg_mrt_dist_f + 
            (1|district) + (1|region),
            REML=TRUE,
            data=train_set)

p <- plot_model(m2,type = "re", facet.grid=FALSE, free.scale = FALSE, title = NULL, vline.color = "darkgrey")
grid.arrange(p[[1]], p[[2]], nrow=1)

enter image description here

$\endgroup$
1
  • $\begingroup$ Given that you only have three regions, I would not include them as a random effect. $\endgroup$ Feb 12, 2019 at 5:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.