[R] lmer: how to lmer with no intercept

Julia7 liujulia7 at yahoo.com
Tue Dec 29 18:46:44 CET 2009


Hello,

How do I fit a mixed effect model with no intercept using lmer()? 
Is the following syntax correct? 

lmer(y ~ -1+x1+x2+(-1+x1+x2|id), data=dt)

Thanks,
Julia


-- 
View this message in context: http://n4.nabble.com/lmer-how-to-lmer-with-no-intercept-tp990493p990493.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list