Re: [R] Find main effect in 2-way ANOVA

2005-11-28 Thread Christoph Buser
Hi It is not so clear to me what your intention is. Could you provide a reproducible example to show what you want to do. Regards, Christoph Buser -- Christoph Buser [EMAIL PROTECTED] Seminar fuer Statistik, LEO C13 ETH (Federal

[R] Find main effect in 2-way ANOVA

2005-11-23 Thread Gao Fay
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