Airline: Percentage of on-time arrivals and number of complaints for...

Description Usage Format Source References Examples

Description

Data for Example 2.9

Usage

1

Format

A data frame/tibble with 11 observations on three variables

airline

a charater variable with values Alaska, Amer West, American, Continental, Delta, Northwest, Pan Am, Southwest, TWA, United, and USAir

ontime

a numeric vector

complaints

complaints per 1000 passengers

Source

Transportation Department.

References

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

Examples

1
2
3
4
5
6
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")

BSDA documentation built on Sept. 5, 2021, 5:39 p.m.