[R] extracting p-value of aov F-statistic
Douglas Bates
bates at wisc.edu
Mon Jun 14 22:21:09 CEST 2004
Sven Hartenstein wrote:
> Hi,
>
> 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.
>
Look at
str(summary(aov.object))
For example
example(aov)
str(summary(npk.aov))
More information about the R-help
mailing list