| chemreac {EngrExpt} | R Documentation |
The yield of a chemical reaction was determined in a replicated 2^3 factorial design.
A data frame with 16 observations on the following 4 variables.
temp120 < 140catA and Btime10 < 30 yield
str(chemreac)
dotplot(temp ~ yield | time, chemreac, groups = cat,
strip = FALSE, strip.left = TRUE, type = c("p", "a"), layout = c(1,2),
auto.key = list(space = "right", title = "Catalyst", lines = TRUE))
summary(fm1 <- lm(yield ~ (time + temp + cat)^3, chemreac))
summary(fm2 <- lm(yield ~ time * temp + cat, chemreac))