Skip to content
Prev 179251 / 398502 Next

Randomized-complete blocks design and R

alis villiyam <aalisiyan <at> gmail.com> writes:
Try lme in package nlme, but you need the documentation in the book
by Pinheiro/Bates to get started, otherwise there is little chance.

Something like (assuming repl is numeric, or a "time")
 
  summary(lme(effect~treat*repl, data=mydata, random=~1|subject))

Possible followed by a multiple comparison test of the contrasts 
from package multcomp. 

If you only do it once, you might get results faster by using SPSS or
Systat (I avoid mentioning the three-letter alternative here)

Dieter