Learn R Programming

SciencesPo (version 1.3.9)

titanic: Titanic

Description

Population at Risk and Death Rates for an Unusual Episode. 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. This dataset contains the following columns:

  • CLASS Class (0 = crew, 1 = first, 2 = second, 3 = third)
  • AGE Age (1 = adult, 0 = child)
  • SEX Sex (1 = male, 0 = female)
  • SURVIVED Survived (1 = yes, 0 = no)

Usage

data(titanic)

Arguments

encoding

UTF-8

format

A data.frame object with ncol(SciencesPo::titanic) variables and nrow(SciencesPo::titanic) observations.

source

British Board of Trade Inquiry Report (1990). Report on the Loss of the `Titanic' (S.S.)", Gloucester, UK: Allan Sutton Publishing.

References

Dawson (1995). "The `Unusual Episode' Data Revisited" in the Journal of Statistics Education.