powered by
The tomato data frame has 24 rows and 2 columns. They are from an experiment that exposed tomato plants to four different 'nutrients'.
tomato
data(tomato)
This data frame contains the following columns:
weight, in g
a factor with levels water only, conc nutrient, 2-4-D + conc nutrient, 3x conc nutrient
water only
conc nutrient
2-4-D + conc nutrient
3x conc nutrient
tomato.aov <- aov(log(weight) ~ trt, data=tomato) fitted.values(tomato.aov) summary.lm(tomato.aov) tomato.aov <- aov(formula = weight ~ trt, data = tomato) summary.lm(tomato.aov)
Run the code above in your browser using DataLab