Skip to content
Prev 179609 / 398503 Next

Help with lme4 model specification

Thanks for your response.
Yes Spar_loc should look suspicious.  I posted the real error messages but
hid the variable names in the model.  Spar_loc is the original form of S.
This did not work.  However I did discover something that does:

AAT<- lmer(Y ~ S + A + (1|H %in% S:A), data=AT, REML=TRUE) 

Not sure why this worked.  I read that it is an alternate way of specifying
nesting.

This runs without error.


______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.