[R] Duncan test: 2-way ANOVA without repetition, but with multiple subjects

2014-06-25 Thread Rosario Garcia Gil
Hello I have a question on how to perform a Duncan test after I set a model like this (see below). The data consist of a dependent variable (PHt) and two dependent variables (REGION (3 levels) AND MANAGEMENT (3 levels)). MANAGEMENT N PS REGION A 196 196

Re: [R] Duncan test: 2-way ANOVA without repetition, but with multiple subjects

2014-06-25 Thread Richard M. Heiberger
You didn't say which package Duncan.test is in. glht has the ability. glht, and probably any other package's test, cannot work with aovlist objects. They require aov objects. That means you must rewrite your Error() statement into the main model. Please see the entire maiz example in ?mmc to