Hello! I am trying to extract a p-value from an aov-object. I?ve done some research on the internet and found a number of solutions, but somehow, none seems to work for me. This is the Object:> summary(rt.aov) > > Error: pbn > Df Sum Sq Mean Sq F value Pr(>F) > Residuals 9 378283 42031 > > Error: pbn:expCond > Df Sum Sq Mean Sq F value Pr(>F) > expCond 2 7312 3656.0 0.4663 0.6347 > Residuals 18 141122 7840.1I would like to recieve an object, that only includes "0.6347". Any Advice? -- View this message in context: http://r.789695.n4.nabble.com/extract-p-value-from-an-aov-oject-tp3060079p3060079.html Sent from the R help mailing list archive at Nabble.com.
On 2010-11-26 03:05, peter_petersen wrote:> > Hello! > > I am trying to extract a p-value from an aov-object. I?ve done some research > on the internet and found a number of solutions, but somehow, none seems to > work for me. > > This is the Object: >> summary(rt.aov) >> >> Error: pbn >> Df Sum Sq Mean Sq F value Pr(>F) >> Residuals 9 378283 42031 >> >> Error: pbn:expCond >> Df Sum Sq Mean Sq F value Pr(>F) >> expCond 2 7312 3656.0 0.4663 0.6347 >> Residuals 18 141122 7840.1 > > I would like to recieve an object, that only includes "0.6347". > > Any Advice?Try summary(rt.aov)[[2]][[1]][1,5] or summary(rt.aov)[[2]][[1]][1,"Pr(>F)"] Peter Ehlers