Skip to content

translating SAS proc mixed into R lme()

2 messages · Zoya Pyrkina, Ben Bolker

#
Zoya Pyrkina <zoyapyrkina <at> gmail.com> writes:
You might have more luck submitting this to r-sig-mixed-models <at>
r-project.org.  Have you looked at the lme documentation and examples
(and Pinheiro and Bates's 2000 book)?  You probably want something
*approximately* like

lme(score~var2+score_base+var4+var5+var3+var6+var7+var1+time-1,
   random=~time|subject,
   data=...)

A reproducible example would be nice too.

   Ben Bolker