Re: [R] extracting p-values from Anova objects (from the car library)

2010-08-23 Thread Johan Steen
Thanks a lot! It sure helped. also thanks to all other repliers. kind regards Johan Op 23/08/2010 23:53, John Fox schreef: Dear Johan, -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Johan Steen Sent: August-23-10 3:02 PM To

Re: [R] extracting p-values from Anova objects (from the car library)

2010-08-23 Thread Johan Steen
. ..- attr(*, "dimnames")=List of 2 .. .. ..$ : chr [1:6] "a1_b1" "a1_b2" "a1_b3" "a2_b1" ... .. .. ..$ : chr "(Intercept)" ..$ sex: num [1:6, 1] 1 1 1 1 1 1 .. ..- attr(*, "dimnames")=List of 2 .. .. ..$ : chr [1:6]

[R] extracting p-values from Anova objects (from the car library)

2010-08-23 Thread Johan Steen
Dear all, is there anyone who can help me extracting p-values from an Anova object from the car library? I can't seem to locate the p-values using str(result) or str(summary(result)) in the example below > A <- factor( rep(1:2,each=3) ) > B <- factor( rep(1:3,times=2) ) > idata <- data.frame(