Illustration of random effects

Implementation Martijn Wieling & Jacolien van Rij (2015) | Server setup Martijn Wieling (2015)


Bottom panel:

- black dashed line: main effect of Time (i.e. Intercept + s(Time) )
- red dotted line: partial random effect for the selected participant
- red solid line: summed effect for the selected participant

Model:

library(mgcv)

Plot code:

library(itsadug)



# retrieving random effects values: