Learn R Programming

alr3 (version 2.0.5)

titanic: Titanic

Description

For each person on board the fatal maiden voyage of the ocean liner Titanic, this dataset records sex, age (adult/child), economic status (first/second/third class, or crew) and whether or not that person survived.

Arguments

Format

This data frame contains the following columns:
Surv
Number of survivors
N
Survivors + Deaths
Class
Crew or passanger class
Age
Adult or child
Sex
Male or female

Source

Report on the Loss of the `Titanic' (S.S.) (1990), British Board of Trade Inquiry Report (reprint), Gloucester, UK: Allan Sutton Publishing. Taken from the Journal on Statistical Education Archive, submitted by rdawson@husky1.stmarys.ca.

References

Weisberg, S. (2005). Applied Linear Regression, 3rd edition. New York: Wiley, Section 12.2.4.

Examples

Run this code
head(titanic)

Run the code above in your browser using DataLab