[R] Contrasts
Warnes, Gregory R
gregory_r_warnes at groton.pfizer.com
Wed Jun 2 14:58:23 CEST 2004
Try the fit.contrast() and estimable() functions from my gregmisc package,
or the contrasts() function in Frank Harrell's Design package.
-Greg
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Kimberly Ann
> Fernandes
> Sent: Monday, May 31, 2004 1:10 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Contrasts
>
>
> Hello,
>
> I am trying to figure out how to conduct a t-test on a
> specific contrast
> for my data. I have four factors in my data and would like
> to conduct a
> t-test on the average of the data from the first two factors
> against the
> average of the data on the second two factor (i.e. is the
> average of the
> first two different from the average of the second two). Is there a
> quick way to do this? I found the contrast function, but wasn't sure
> how to apply it.
>
> Thank you,
> Kim
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
More information about the R-help
mailing list