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

From: Paul Miller <pjmiller_57_at_yahoo.com>
Date: Tue, 01 Mar 2011 15:45:31 -0800 (PST)


Hello Everyone,
 

Figured out one part of the code. Setting the reference level for a factor is accomplished using the relevel funtion (pg. 383 of MASS; pg. 70 of Data Manipulation with R):
 

gad$dosegrp <- relevel(gad$dosegrp,3)
 

This works very well. Much better than using a format in SAS procedures that don't allow the "ref=" option for instance.

 

Does anyone have suggestions about how to improve other aspects of my code?
 

Thanks,
 

Paul
 

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 02 Mar 2011 - 07:14:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Mar 2011 - 08:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive