Hi, If you do test <- summary(aov(DV ~ IV1 * IV2)) str(test) you will see that test[[1]][2] gives you what you want.
Reading more on indexing will also probably help you. str() is a very useful function, to use without moderation!
HTH, Ivan Le 2/3/2011 13:30, Bertolt Meyer a écrit :
summary(aov(DV ~ IV1 * IV2))
-- Ivan CALANDRA PhD Student University of Hamburg Biozentrum Grindel und Zoologisches Museum Abt. Säugetiere Martin-Luther-King-Platz 3 D-20146 Hamburg, GERMANY +49(0)40 42838 6231 ivan.calan...@uni-hamburg.de ********** http://www.for771.uni-bonn.de http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php ______________________________________________ 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.