Learn R Programming

BSDA (version 1.01)

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

Description

Data for Exercise 2.9

Usage

Airline

Arguments

Format

A data frame with 11 observations on the following 3 variables.

airline

a factor with levels Alaska Amer West American Continental Delta Northwest Pan Am Southwest TWA United USAir

ontime

a numeric vector

complnt

a numeric vector

Examples

Run this code
# NOT RUN {
str(Airline)
attach(Airline)
barplot(complnt,names.arg=airline,col="lightblue")
plot(ontime,complnt)
detach(Airline)
# }

Run the code above in your browser using DataLab