[R] extracting p-value of aov F-statistic

Sven Hartenstein lists at svenhartenstein.de
Mon Jun 14 21:02:07 CEST 2004


> > I would like to extract the p-value of the F-statistic of a aov-object's
> > summary.
> >
> > Getting the p-value is so easy with t-tests (t.test(g1, y = g2,
> > var.equal = FALSE)$p.value), but I couldn't find anything like that for
> > ANOVAs.

> Maybe something like:
>  >?summary.aov
> will give you a clue

Unfortunately not. I already checked summary, aov and lm help pages.

Sven




More information about the R-help mailing list