Indy500 {BSDA} | R Documentation |
Qualifying miles per hour and number of previous starts for drivers in 79th Indianapolis 500 race
Description
Data for Exercises 7.11 and 7.36
Usage
Indy500
Format
A data frame/tibble with 33 observations on four variables
- driver
a character variable with values
andretti
,bachelart
,boesel
,brayton
,c.guerrero
,cheever
,fabi
,fernandez
,ferran
,fittipaldi
,fox
,goodyear
,gordon
,gugelmin
,herta
,james
,johansson
,jones
,lazier
,luyendyk
,matsuda
,matsushita
,pruett
,r.guerrero
,rahal
,ribeiro
,salazar
,sharp
,sullivan
,tracy
,vasser
,villeneuve
, andzampedri
- qualif
qualifying speed (in mph)
- starts
number of Indianapolis 500 starts
- group
a numeric vector where 1 indicates the driver has 4 or fewer Indianapolis 500 starts and a 2 for drivers with 5 or more Indianapolis 500 starts
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
Examples
stripchart(qualif ~ group, data = Indy500, method = "stack",
pch = 19, col = c("red", "blue"))
boxplot(qualif ~ group, data = Indy500)
t.test(qualif ~ group, data = Indy500)
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Indy500, aes(sample = qualif)) +
geom_qq() +
facet_grid(group ~ .) +
theme_bw()
## End(Not run)