Hi there.
I am not sure what it is that you are trying to get.
If you want to get the anova results for the interaction, why not just use:

summary(aov(x~gen*con))

?
Are you trying to do something else with the result?

Tal






On Thu, Sep 3, 2009 at 1:32 PM, Luca Servolo <lucaservolo@gmail.com> wrote:

> When I perform a two-way anova on my dataframe "pin", I can't get any
> indication about the interaction among the two factors "gen" and "con"
> while
> the statistics about the significance relative to the two factors alone is
> correct.
> I wrote this:
>
> *pvalues_genotipo<-sapply(pin[,1:(length(pin)-2)],FUN=function(x)
> summary(aov(x~gen*con)))*
>
> Where is the mistake?
>
> luca
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>



-- 
----------------------------------------------


My contact information:
Tal Galili
Phone number: 972-50-3373767
FaceBook: Tal Galili
My Blogs:
http://www.r-statistics.com/
http://www.talgalili.com
http://www.biostatistics.co.il

	[[alternative HTML version deleted]]


