Re: [R] Missing rows anova

2016-07-20 Thread Justin Thong
Hi Michael, Thank you for the reply. I am sorry I forgot to print out the anova table to make my question clear. DfSum Sq Mean Sq F value Pr(>F) S 20.199.630e-060.8180.444 x110.0002562.560e-0

Re: [R] Missing rows anova

2016-07-19 Thread Michael Dewey
Presumably it disappears because there is a unique value of ID for eac combination of S*x1 so they are indistinguishable. On 19/07/2016 12:53, Justin Thong wrote: Why does the S:x1 column disappear (presumably S:x1 goes into ID but I dont know why)? S is a factor, x1 is a covariate and ID is a

[R] Missing rows anova

2016-07-19 Thread Justin Thong
Why does the S:x1 column disappear (presumably S:x1 goes into ID but I dont know why)? S is a factor, x1 is a covariate and ID is a factor. rich.side<-aov(y~S*x1+ID) summary(rich.side) Below is the model frame model.frame(~S*x1+ID) S x1 ID 1 1 12 A 2 1 12 A