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))

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to