Skip to content
Prev 67088 / 398506 Next

Help with three-way anova

On Wed, 2005-04-06 at 09:11 +0100, michael watson (IAH-C) wrote:
Incidentally, if you want interaction terms you need 

lm(IL.4 ~ Infected * Vaccinated * Lesions, data)

for all the possible interactions in the model (BUT you need enough
degrees of freedom from the start to be able to do this).
I guess it's all due to the contrast matrix you used. Check with
contrasts() the term(s) in the datafile you use as independent
variables, and change the contrast matrix as you see fit.

HTH,

F