Learn R Programming

BSDA (version 1.2.0)

Airdisasters: Aircraft disasters in five different decades

Description

Data used in Exercise 1.12

Usage

Airdisasters

Arguments

Format

A data frame /tibble with 141 observations on the following seven variables

year

a numeric vector indicating the year of an aircraft accident

deaths

a numeric vector indicating the number of deaths of an aircraft accident

decade

a character vector indicating the decade of an aircraft accident

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 {
par(las = 1)
stripchart(deaths ~ decade, data = Airdisasters, 
           subset = decade != "1930s" & decade != "1940s", 
           method = "stack", pch = 19, cex = 0.5, col = "red", 
           main = "Aircraft Disasters 1950 - 1990", 
           xlab = "Number of fatalities")
par(las = 0)

# }

Run the code above in your browser using DataLab