titanic | R Documentation |
titanic
comes from the sinking of the Titanic, and can be used to look at survival by different demographic characteristics.
titanic
A data frame with 4820 rows and 7 variables
class (ticket)
Age (Child vs. Adult)
Gender
Survived
This data is used in the Matching and Subclassification chapter of Causal Inference: The Mixtape by Cunningham.
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.
Cunningham. 2021. Causal Inference: The Mixtape. Yale Press. https://mixtape.scunning.com/index.html.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.