[R] Find main effect in 2-way ANOVA

Gao Fay statsfay at hotmail.com
Thu Nov 24 00:39:22 CET 2005


Hi,

I use anova() to find interaction effect and then I need to find data with 
main effect from those data with interaction effect. How to do that?

I used : anova(lm(data~factor1*factor2)), then select data with interaction 
effect. Then I need to select those data also with main effect of factor1 
or factor2, from previous selected data. How to do that? Many thanks for 
your time on my quesiton!

Fay




More information about the R-help mailing list