Airline | R Documentation |
Data for Example 2.9
Airline
A data frame/tibble with 11 observations on three variables
a charater variable with values Alaska
,
Amer West
, American
, Continental
, Delta
,
Northwest
, Pan Am
, Southwest
, TWA
,
United
, and USAir
a numeric vector
complaints per 1000 passengers
Transportation Department.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
with(data = Airline,
barplot(complaints, names.arg = airline, col = "lightblue",
las = 2)
)
plot(complaints ~ ontime, data = Airline, pch = 19, col = "red",
xlab = "On time", ylab = "Complaints")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.