[R] Nesting random effects in lmer

2011-03-08 Thread MRak
Dear R experts, Could you please tell me how to nest random effects in an lmer model? Right now, my function looks like this: Full<-lmer(Consortship~((1|Male)+(1|Female))+MaleRank+MaleAge+MMGroom+MMAggrRankControl+FemaleRank+FemaleAge+MFAggrMating+GroomBirth07+MatNoConsortGroomF, family=poisson)

[R] Nesting random effects in lmer

2011-03-07 Thread MRak
Dear R experts, Could you please tell me how to nest random effects in an lmer model? Right now, my function looks like this: Full<-lmer(Consortship~((1|Male)+(1|Female))+MaleRank+MaleAge+MMGroom+MMAggrRankControl+FemaleRank+FemaleAge+MFAggrMating+GroomBirth07+MatNoConsortGroomF, family=poisson)