Skip to content
Prev 101 / 7420 Next

nlme model specification

Matt,
I believe that is what you would be doing if you group by tree. e.g.

## vary only intercept
mdl1<-lmer(growth~diameter+vineload+(1|tree))
## vary intercept and slope for diameter
mdl2<-lmer(growth~diameter+vineload+(1+diameter|tree))
## vary intercept and slope for diameter and vineload
mdl2<-lmer(growth~diameter+vineload+(1+diameter+vineload|tree))

if the last two dont converge, and based on your lme results they 
probably wont, try the lmer2 function, it wont converge either but it 
should tell you why.

-Chris
Landis, R Matthew wrote: