powered by
Data for Exercise 10.53
Nascar
A data frame/tibble with 36 observations on six variables
duration of pit stop (in seconds)
a numeric vector representing team 1, 2, or 3
a numeric vector ranking each pit stop in order of speed
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { boxplot(time ~ team, data = Nascar, col = rainbow(3)) model <- lm(time ~ factor(team), data = Nascar) summary(model) anova(model) rm(model) # }
Run the code above in your browser using DataLab