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
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.
2 matches
Mail list logo