Learn R Programming

BSDA (version 1.2.0)

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

Description

Data for Example 2.9

Usage

Airline

Arguments

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

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 {
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")

# }

Run the code above in your browser using DataLab