Group data to illustrate analysis of variance
Data for Exercise 10.42
Groupabc
A data frame/tibble with 45 observations on two variables
a factor with levels A
, B
, and C
a numeric vector
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(response ~ group, data = Groupabc, col = c("red", "blue", "green")) anova(lm(response ~ group, data = Groupabc))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.