Spaghetti-Plot Fixed and Random Effects of Linear Mixed Models

Plot both fixed and random effects of linear mixed models, multilevel models in a single spaghetti plot. The package allows to visualize the effect of a predictor on a criterion between different levels of a grouping variable. Additionally, confidence intervals can be displayed for fixed effects. Calculation of predicted values of random effects allows only models with one random intercept and/or one random slope to be plotted. Confidence intervals and predicted values of fixed effects are computed using the 'ggpredict' function from the 'ggeffects' package. Lüdecke, D. (2018) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("pastaPlot")

0.1.0 by Jan-Felix Palnau, 2 years ago


Browse source code at https://github.com/cran/pastaPlot


Authors: Jan-Felix Palnau [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports ggeffects, ggplot2, glmmTMB, lme4


See at CRAN