Displaying 1 result from an estimated 1 matches for "oo440".
2012 Jan 23
2
model non-nested random effects in nlme library
Hello all,
In lme4 if you want to model two non-nested random effects you code it like
this:
mod1 <- lmer(y~x + (1|randomvar1) + (1|randomvar2))
How would you go about to model something similar in nlme?
In my database I have two variables for which I have repeated measures, lets
call them "individual" and "year".
But none of the "individuals" were measured in