Re: [R] Simple 2-Way Anova issue in R

2009-11-08 Thread Jeremy Miles
If I've understood correctly, you have cell sizes of 1. This is not enough. ANOVA compares within group variance to between group variance, and your within group variances are zero. You need more data, or to collapse some cells. Jeremy 2009/11/8 znd zackdaughe...@mail.com: Hello, I'm new

Re: [R] Simple 2-Way Anova issue in R

2009-11-08 Thread znd
Ah, I believe I constructed my *.csv wrong in that I only had 1 observation within groups whereas I needed at least 2. Originally I had: Year Depth Biomass1 Biomass2 1999 10 14.3 14.7 1999 15 14.7 15.6 etc. but I switched this to: Year

Re: [R] Simple 2-Way Anova issue in R

2009-11-08 Thread jim holtman
x Year Depth Biomass1 Biomass2 1 199910 14.3 14.7 2 199915 14.7 15.6 require(reshape) melt(x, id=c('Year','Depth')) Year Depth variable value 1 199910 Biomass1 14.3 2 199915 Biomass1 14.7 3 199910 Biomass2 14.7 4 199915 Biomass2 15.6 On Sun, Nov