Description Format References Examples
Data from a study of the repair time for different brands of computers in different configurations.
A data frame with 36 observations on the following 3 variables.
brand
a factor with levels A
B
C
type
an ordered factor with levels Inexpensive
home
< Expensive home
< Business
time
time to repair computer (minutes)
Peter R. Nelson, Marie Coffin and Karen A. F. Copeland (2003), Introductory Statistics for Engineering Experimentation, Elsevier. (Appendix A)
1 2 3 4 5 6 7 8 | 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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.