search for: qinflavgbyplot

Displaying 1 result from an estimated 1 matches for "qinflavgbyplot".

2011 Sep 29
3
For loop for subset - repeating same over and over?
...uot;BWCSTA","BWHPAU","BWETRI","BWERUS","BWDFIS","BWPARC","BWLCON","BWLARC","BWJBIG") n.SiteSpp <- length(SiteSpp) for (i in (1:n.SiteSpp)) { QInfl.aov <- aov(AvgOfnumResponse ~ strTrea*strYear, data=QInflAvgbyPlot, subset=(SiteSpp == SiteSpp[i])) print(summary(QInfl.aov)) } The resulting summary just continuously prints the same anova results (For ADHALP) over and over again.... Any suggestions? Thanks, Kelsey -- View this message in context: http://r.789695.n4.nabble.com/For-loop-for-subset-repe...