Re: [R] Pairwise T-Tests and Dunnett's Test (possibly using multcomp)

2011-03-03 Thread Paul Miller
Hi Josh,   Thanks for your reply. You're right about letting R's method dispatch system choose the method for summary and inserting more spaces in the code. I was just messing around with the code in the former case and forgot to change it back. As far as not having enough whitespace goes, I've

Re: [R] Pairwise T-Tests and Dunnett's Test (possibly using multcomp)

2011-03-01 Thread Joshua Wiley
Hi Paul, Changing the factor levels will work (as you saw). In this case, you could also edit the contrast matrix. ## look at default contrasts contrasts(gad$dosegrp) model1 <- lm(hama ~ dosegrp, data = gad) summary(model1) ## choose group 3 as base (comparison) contrasts(gad$dosegrp) <- contr.