1

I am having problems getting the fitted values from a linear mixed model (lmer()). Normally I would use fitted() but I am getting this error:

Error: $ operator not defined for this S4 class

Is there another way to get the fitted values, or can anyone explain my why I am getting that error?

I am using R version 3.0.1.

Hope someone can help.

4

1 回答 1

0

您可以尝试使用命令直接fitted从包中访问该功能lme4

lme4::fitted(yourModel)
于 2013-06-18T09:28:01.497 回答