[R-sig-ME] graphics to show crossed random-effects

Simon Harmel @|m@h@rme| @end|ng |rom gm@||@com
Thu Jul 16 20:34:19 CEST 2020


Good afternoon,

Given lme4 package in R, I often show a random-intercept model (i.e., y~1 +
(1|grouping)) using a picture like:
https://github.com/hkil/m/blob/master/mlm.PNG.

I wonder how to extend this picture to show a fully crossed
random-intercepts model of the form: y~1 + (1|grouping_1) + (1|grouping_2) ?

Specifically, do I need to have 2 red, level-2 distributions (side-by-side)
each for showing the random intercepts of each grouping_j and if so, is
there any way to show the "crossing*"* of the two random-effects in the
picture?

Many thanks,
Simon

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list