How do I set up my model equation in aov to analyze a split-plot design?

I have two factors (CO2 and NITROGEN), each with two levels (high and 
ambient).   CO2 is my whole-plot factor with three replicates for each level 
(i.e., 6 rooms total).

Is this syntax below correct?

summary(aov(response ~ ROOM + CO2*NITROGEN + Error(ROOM/CO2)))

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to