Re: [R] how to get p-value from ave

2010-05-10 Thread Dennis Murphy
Hi: str() is usually helpful: > str(summary(aov.ex2)) List of 1 $ :Classes ‘anova’ and 'data.frame': 4 obs. of 5 variables: ..$ Df : num [1:4] 1 1 1 12 ..$ Sum Sq : num [1:4] 76.5625 5.0625 0.0625 311.25 ..$ Mean Sq: num [1:4] 76.5625 5.0625 0.0625 25.9375 ..$ F value: num [1:4] 2.

[R] how to get p-value from ave

2010-05-10 Thread Yuan Jian
Hi there, I checked google for aov. usually one uses summary to see whether the p-value is small. but I want to put aov in my script. how can I get the p-value, (0.1115, 0.6665, 0.6665 in the following example)? thanks YU > datafilename="http://personality-project.org/r/datasets/R.appendix2.