Displaying 1 result from an estimated 1 matches for "varina".
Did you mean:
marina
2011 Nov 18
1
One-way repeated measures ANOVA
...the same data.
The dataset is small (n=6) and was arranged so that the data from the two
different years was arranged in two columns ("2010", "2011).
I've pasted the rest of the code below for reference. I'd appreciate any
suggestions as to what the issue here is!
Thanks,
Varina
transect=read.csv("Transect data.csv")
attach(transect)
replicates=c(1,2)
yearfactor=as.factor(replicates)
yearframe=data.frame(yearfactor)
yearbind=cbind(transect$TP10, transect$TP11)
yearmodel=lm(yearbind~1)
rmanova=anova(yearmodel, idata=yearframe, idesign=~yearfactor)
summa...