Hi everyone,

I have a quick question about the random part in lme().

Here is the code:

lme(WBEING~HRS+LEAD+G.HRS,random=~LEAD|GRP)

I want to specify both random intercept and random slope of LEAD. Is the random intercept already in it? or should I specify it like:

lme(WBEING~HRS+LEAD+G.HRS,random=~1+LEAD|GRP)     ?

Thank you very much.

Best regards,

YA

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to