[R] How to write a two-way interaction as a random effect in a lmer model?

2006-12-11 Thread Fucikova, Eva
Dear All, I am working with linear mixed-effects models using the lme4 package in R. I created a model with the lmer function including some main effects, a two-way interaction and a random effect. Now I am searching how I could incorporate an interaction between the random effect and one of

[R] Predicted values in lmer modeling

2006-11-28 Thread Fucikova, Eva
Dear All, I am working with linear mixed-effects models using the lme4 package in R. I created a model with the lmer function including some main effects, a two-way interaction and a random effect. Now I am searching for a way to save the predicted values for this model. As far as I can see,