titanic: Titanic

Description Format Source References Examples

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.

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

1

Example output

Loading required package: car
  Surv   N Class   Age    Sex
1   20  23  Crew Adult Female
2  192 862  Crew Adult   Male
3    1   1 First Child Female
4    5   5 First Child   Male
5  140 144 First Adult Female
6   57 175 First Adult   Male

alr3 documentation built on May 2, 2019, 5:20 p.m.

Related to titanic in alr3...