Learn R Programming

EngrExpt (version 0.1-6)

computer: Repair time of computers

Description

Data from a study of the repair time for different brands of computers in different configurations.

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(computer)
dotplot(type ~ time, computer, groups = brand,
        auto.key = list(columns = 3, lines = TRUE),
        type = c("p","a"), jitter.y = TRUE,
        xlab = "Time to repair computer (minutes)")
summary(fm1 <- lm(time ~ brand * type, computer))
summary(fm2 <- lm(time ~ brand + type, computer))
summary(fm3 <- lm(time ~ type, computer))

Run the code above in your browser using DataLab