[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-mixed-models
Subject:    [R-sig-ME] error regarding levels in grouping factor
From:       "Sharif S. Aly" <saly () ucdavis ! edu>
Date:       2007-12-10 2:08:06
Message-ID: 475C9F86.2000300 () ucdavis ! edu
[Download RAW message or body]

Dear R-mixed models list,
After running a mixed model with level 4 and 3 crossed with level 2,
and level 2 nested within level 1:

lmer(y~ 1 + (1|level1/level2)+(1|level3)+(1|level4),data)

I get the following error:

ERROR:
number of levels in grouping factor(s) ‘level2

Would someone kindly give me some insight as to what may have caused
this error or how to remedy this problem?

Best regards,
Sharif



_______________________________________________
R-sig-mixed-models@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic