Nascar {BSDA}R Documentation

Efficiency of pit crews for three major NASCAR teams

Description

Data for Exercise 10.53

Usage

Nascar

Format

A data frame/tibble with 36 observations on six variables

time

duration of pit stop (in seconds)

team

a numeric vector representing team 1, 2, or 3

ranks

a numeric vector ranking each pit stop in order of speed

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


boxplot(time ~ team, data = Nascar, col = rainbow(3))
model <- lm(time ~ factor(team), data = Nascar)
summary(model)
anova(model)
rm(model)


[Package BSDA version 1.2.2 Index]