I'm trying to do a two way ANOVA on a dataset with 2 fixed effects factors (Genotype and Treatment). However, depending on the order of which the factors are in the model formula, I'm getting different results.
Formulas are : aov(Angle~GenotypeTreatment) for "modele2" and aov(Angle~TreatmentGenotype) for "modele21".
Can you guys help me figuring out why this happens ?
anova()
oraov()
is to be expected in unbalanced designs and (2) provides a link to a discussion of different ANOVA types in the help page to theAnova()
function (capital "A") in the Rcar
package. $\endgroup$