Learn R Programming

BSDA (version 1.2.0)

Nascar: Efficiency of pit crews for three major NASCAR teams

Description

Data for Exercise 10.53

Usage

Nascar

Arguments

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

Run this code
# 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