Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

TitanicSurvival

Survival of Passengers on the Titanic


Description

Information on the survival status, sex, age, and passenger class of 1309 passengers in the Titanic disaster of 1912.

Usage

TitanicSurvival

Format

A data frame with 1309 observations on the following 4 variables.

survived

no or yes.

sex

female or male

age

in years (and for some children, fractions of a year); age is missing for 263 of the passengers.

passengerClass

1st, 2nd, or 3rd class.

Details

This is part of a larger data set compiled by Thomas Cason. Many additional details are given in the sources cited below.

Source

References

F. E. Harrell, Jr. (2001) Regression Modeling Strategies New York: Springer.

Examples

summary(TitanicSurvival)

carData

Companion to Applied Regression Data Sets

v3.0-4
GPL (>= 2)
Authors
John Fox [aut, cre], Sanford Weisberg [aut], Brad Price [aut]
Initial release
2020-04-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.