Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Airline

Percentage of on-time arrivals and number of complaints for 11 airlines


Description

Data for Example 2.9

Usage

Airline

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

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

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.