Learn R Programming

EngrExpt (version 0.1-6)

cement: Drying times of concrete

Description

Drying times of different concrete mixes used in a sidewalk. Mix A is the conventional mix. Mixes B and C are experimental, and more expensive, mixes.

Arguments

References

Peter R. Nelson, Marie Coffin and Karen A. F. Copeland (2003), Introductory Statistics for Engineering Experimentation, Elsevier. (Appendix A)

Examples

Run this code
str(cement)
dotplot(reorder(type, time) ~ time, cement, type = c("p","a"),
        jitter.y = TRUE, ylab = "Mix type",
        xlab = "Time until concrete is dry enough to walk on (hours)")
qqmath(~ time, cement, groups = type, aspect = 'xy',
       xlab = "Standard normal quantiles",
       type = c("g","p"),
       panel=function(...)
   {
       panel.qqmathline(..., alpha = 0.5, lty = 2)
       panel.qqmath(...)
   },
       ylab = "Time until concrete is dry enough to walk on (hours)",
       auto.key = list(space = "right", title = "Type", lines = TRUE))
summary(fm1 <- aov(time ~ type, cement))
TukeyHSD(fm1)

Run the code above in your browser using DataLab