Data indicating who survived on the Titanic.

titanic

Format

A data frame containing 2,201 rows and 4 columns.

class

Factor - Class (first, second, third, or crew)

age

Factor - Age group (child or adult)

sex

Factor - Sex (male or female)

survived

Logical - Whether the passenger survived (TRUE) or not (FALSE)

Details

See Titanic of the R datasets package for details and the same data (in a 4-dimensional table).

References

Dawson, Robert J. MacG. (1995). The ‘Unusual Episode’ Data Revisited. Journal of Statistics Education, 3. https://doi.org/10.1080/10691898.1995.11910499.