powered by
Data for Exercise 10.33
Lodge
A data frame/tibble with 45 observations on six variables
a numeric vector indicating the amount of vehicles that passed a site in 1 hour
a numeric vector with values 1, 2, and 3
1
2
3
ranks for variable traffic
traffic
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { boxplot(traffic ~ site, data = Lodge, col = cm.colors(3)) anova(lm(traffic ~ factor(site), data = Lodge)) # }
Run the code above in your browser using DataLab