Learn R Programming

DAAG (version 1.24)

tomato: Root weights of tomato plants exposed to 4 different treatments

Description

The tomato data frame has 24 rows and 2 columns. They are from an experiment that exposed tomato plants to four different 'nutrients'.

Usage

data(tomato)

Arguments

Format

This data frame contains the following columns:

weight

weight, in g

trt

a factor with levels water only, conc nutrient, 2-4-D + conc nutrient, 3x conc nutrient

Examples

Run this code
# NOT RUN {
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