Skip to content
Prev 17004 / 20628 Next

Additive random effects un lme

These are also called "crossed" random effects.  lme can do them in a
limited and complex way -- the syntax is given somewhere in one of the
later chapters of the Pinheiro and Bates 2000 book [see
https://stackoverflow.com/questions/36342072/how-to-get-two-random-effects-crossed-with-one-nested-in-the-other-in-nlme
] but it's much easier with lme4::lmer (y ~ 1 + (1|A) + (1|B)). Do you
have a reason you have to stick with lme?
On 2018-09-19 01:33 PM, Mat?as Alejandro Castillo Moine wrote: