[R] interaction plots and confidence levels

From: Max Manfrin <mmanfrin_at_ulb.ac.be>
Date: Mon 02 Apr 2007 - 16:59:54 GMT


Dear list,

        for an ANOVA analysis I would like to obtain the interaction plots that contains also the confidence intervals (95% Tukey HSD).

My anova model is built in a way similar to this:

myObj.aov <- aov(response~(factor1+factor2+factor2+factor4+factor5) ^2,data=myDataFrame)

To obtain the interaction plots I use the code below for each factor of my model:

library(alr3)
interaction.plot(myDataFrame$factor1,myDataFrame$factor2,myDataFrame $response,fixed=TRUE,xpd=TRUE,main="Interaction Factor1 & Factor 2",xlab="Factor 1",ylab="response")

How could I plot also the confidence intervals?

Thanks for any help you might provide.


Max MANFRIN                                 Tel.: +32 (0)2 650 3168
IRIDIA - CoDE, CP 194/6                     Fax.: +32 (0)2 650 2715
Université Libre de Bruxelles
Av. F. D. Roosevelt, 50
1050 Brussels                             Email: mmanfrin@ulb.ac.be
BELGIUM                      WWW: http://iridia.ulb.ac.be/~mmanfrin

gpg DSA: 0x7E67B4C4
gpg fingerprint: C2E9 1689 CADD 7CAE 2FAB A355 8FD9 9DD1 7E67 B4C4




R-help@stat.math.ethz.ch 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 Tue Apr 03 03:07:57 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 02 Apr 2007 - 18:30:35 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.