Re: [R] Post-hoc and planned comparisons for repeated measures

2009-03-29 Thread Kingsford Jones
A couple more thoughts. If you're using nlme::lme to fit the model there is a 'contrasts' argument to lme which can be used to structure the design matrix to produce tests of hypotheses of interest. Also, when you pass an lme object to anova you can use the 'L' argument to specify linear combinat

Re: [R] Post-hoc and planned comparisons for repeated measures

2009-03-29 Thread Kingsford Jones
Hi Dwight, The answer likely depends on how you are fitting the model. Have a look at the multcomp package and its vignettes to see if it can handle the model class you are interested in. hth, Kingsford Jones On Sun, Mar 29, 2009 at 11:11 AM, Krehbiel, Dwight wrote: > Dear colleagues, > > C

[R] Post-hoc and planned comparisons for repeated measures

2009-03-29 Thread Krehbiel, Dwight
Dear colleagues, Can anyone give some clues about how best to conduct post-hoc comparisons or planned comparisons for repeated-measures data in R? The UCLA web site gives wonderful examples for doing repeated-measures analyses of variance, but pairwise or other comparisons are still escaping me