Re: [R] Need help understanding output from aov and from anova

2009-06-04 Thread Suman Sundaresh
#x27;***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 > Warning message: > In anova.lm(lm(vtot ~ fac)) : >  ANOVA F-tests on an essentially perfect fit are unreliable >> > > > > > > Steven McKinney, Ph.D. > > Statistician

[R] Need help understanding output from aov and from anova

2009-06-03 Thread Suman Sundaresh
Hi all, I noticed something strange when I ran aov and anova. vtot=c(7.29917, 7.29917, 7.29917) #identical values fac=as.factor(c(1,1,2)) #group 1 has first two elements, group 2 has the 3rd element When I run: > anova(lm(vtot~fac)) Analysis of Variance Table Response: vtot Df