titanic: Data from the sinking of the Titanic

titanicR Documentation

Data from the sinking of the Titanic

Description

titanic comes from the sinking of the Titanic, and can be used to look at survival by different demographic characteristics.

Usage

titanic

Format

A data frame with 4820 rows and 7 variables

class

class (ticket)

age

Age (Child vs. Adult)

sex

Gender

survived

Survived

Details

This data is used in the Matching and Subclassification chapter of Causal Inference: The Mixtape by Cunningham.

Source

British Board of Trade (1990), Report on the Loss of the ‘Titanic’ (S.S.). British Board of Trade Inquiry Report (reprint). Gloucester, UK: Allan Sutton Publishing.

References

Cunningham. 2021. Causal Inference: The Mixtape. Yale Press. https://mixtape.scunning.com/index.html.


causaldata documentation built on Oct. 25, 2024, 1:07 a.m.