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:[EMAIL PROTECTED] 

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

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to