Learn R Programming

EngrExpt (version 0.1-6)

chemreac: Yield of a chemical reaction

Description

The yield of a chemical reaction was determined in a replicated $2^3$ factorial design.

Arguments

Examples

Run this code
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))

Run the code above in your browser using DataLab