nlme in Rstudio gives an error Error in, groups) : invalid formula for groups

Random effects model (both intercept and slope are random)

my.mod <- lme(DQTI ~ NTPD+TRTF+CBQTI+(CON1|ID_U),
data =,

Hello Nirgrahamuk: Can you please help me with my code? I have to use lme and not lmer as the next code is contrast which will not work if I use lmer.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.