[R] random error with lme for repeated measures anova

2008-08-27 Thread Jean-Pierre Bresciani
Hi, what is the appropriate syntax to get the random error correct when performing repeated measures anova with 'lme'. let's say i have 3 independent variables, with 'aov', i would write something like: aov(dep_var~(indep_var1*indep_var2*indep_var3) + Error(subject/(indep_var1*indep_var2*indep_v

Re: [R] post hoc tests two way repeated measures anova

2008-08-18 Thread Jean-Pierre Bresciani
27;, but those are obviously wrong with my design. i'm quite clueless (and i haven't found any convincing piece of information about how to correctly use 'lme' or 'lmer'). So, any advice along that line is more than welcome. JP Frank E Harrell Jr wrote: > >

[R] post hoc tests two way repeated measures anova

2008-08-15 Thread Jean-Pierre Bresciani
Hi, is there a specific/appropriate function/package to perform post hoc tests when running a two way repeated measures anova? I'm looking for something that will be equivalent to the 'TukeyHSD()' for between subjects anova (with 'aov()'). For one way repeated measures anova, the 'pairwise.t.test