Skip to content
Prev 7505 / 20628 Next

Error when using models with lmer

Hi all,

Prof. Bates, I think you missed the "i" in "ci". It took me a while to
figure out, but I think the OP is trying to use ci.mer from the
gmodels package.

Olga, the proper course of action is to contact the gmodels maintainer
to alert them to this bug / incompatibility, as even the ci examples
do not run:

## Example from ci() documentation

fm2 <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject), sleepstudy)
ci(fm2)
Error in as.vector(data) :
  no method for coercing this S4 class to a vector

Best,
Ista
On Wed, Feb 8, 2012 at 11:51 AM, Douglas Bates <bates at stat.wisc.edu> wrote: