[R-sig-ME] Problems with function ranef in lme4

Manuel Spínola mspinola10 at gmail.com
Sun Mar 14 12:29:11 CET 2010


Dear list members,

I am trying the function ranef from package lme4 and I got the following 
error warning:

 > data(sleepstudy)
 > fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
 > ranef(fm1)
Error en UseMethod("ranef") :
  no applicable method for 'ranef' applied to an object of class "mer"

What could be the problem?
Best,

Manuel

-- 
Manuel Spínola, Ph.D.
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspinola at una.ac.cr
mspinola10 at gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036




More information about the R-sig-mixed-models mailing list