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, there is no command in lme4 to save the predicted
values (like the predict(model) function in e.g. glm).

This gives the following R output: Error in predict(lmer(model))   no
applicable method for "predict"

 

I found the same question in the R forum archives, but no answer.

 

Could anybody please give me an advice how to solve this problem?

 

Thank you in advance,

Eva Fucikova

 

********************************************

Msc. Eva Fucikova 
Netherlands Institute of Ecology (NIOO-KNAW) 
PO Box 40 
6666 ZG Heteren 
The Netherlands 
tel.: +31 (0)26 4791248 
Email:E.Fucikova@nioo.knaw.nl 

*******************************************

 


	[[alternative HTML version deleted]]

