[R-sig-ME] Error message in lmer

Luciano La Sala lucianolasala at yahoo.com.ar
Fri Apr 17 02:40:02 CEST 2009


Dear people, 

I am doing some exercises from The R Book by Crawley. When trying to fit a mixed model for the “Rat” data (page 649 on this book), after loading the data and specifying the model I get the following error messages: 

model <- lmer(Glycogen~Treatment+(1|Treatment/Rat/Liver)
 
Error: Matrices must have same number of columns in rbind2(..1, r)
In addition: Warning messages:
1: In Rat:Treatment :
  numerical expression has 36 elements: only the first used
2: In Rat:Treatment :
  numerical expression has 36 elements: only the first used
3: In Liver:(Rat:Treatment) :
  numerical expression has 36 elements: only the first used
4: In Rat:Treatment :
  numerical expression has 36 elements: only the first used
5: In Rat:Treatment :
  numerical expression has 36 elements: only the first used

What's all this mean? Any tips as to where I may be going wrong? 

Thank you in advance! 

Luciano 

 



      Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/




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