Re: [R] PROC MIXED vs. lme()

2003-12-10 Thread Christophe Pallier
Hi I'm trying to learn how to do a repeated measures ANOVA in R using lme(). In SAS, I use the code: PROC MIXED DATA=[data set below]; CLASS sub group trial; MODEL dv = group trial group*trial; REPEATED trial / SUBJECT=sub TYPE=CS; In R, I'm trying the code: results.cs - lme(DV ~

[R] PROC MIXED vs. lme()

2003-12-09 Thread Manuel A. Morales
I'm trying to learn how to do a repeated measures ANOVA in R using lme(). A data set that comes from the book Design and Analysis has the following structure: Measurements (DV) were taken on 8 subjects (SUB) with two experimental levels (GROUP) at four times (TRIAL). In SAS, I use the code: