Learn R Programming

Rmixmod (version 2.1.10)

titanic: Qualitative data: Survival of passengers on the Titanic

Description

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. Values are aligned and delimited by blanks. There are no missing values.

Arguments

Format

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

Class

0 = crew, 1 = first, 2 = second, 3 = third, which denote the economic status of the subject

Age

1 = adult, 0 = child, which denote if the subject is an adult or a child

Sex

1 = male, 0 = female, which denote the sex of the subject

Survived

1 = yes, 0 = no, which denote if the subject lived through the fatal maiden voyage of the ocean liner Titanic

Details

The sinking of the Titanic is a famous event, and new books are still being published about it. Many well-known facts-from the proportions of first-class passengers to the "women and children first" policy, and the fact that that policy was not entirely successful in saving the women and children in the third class-are reflected in the survival rates for various classes of passenger.

These data were originally collected by the British Board of Trade in their investigation of the sinking. Note that there is not complete agreement among primary sources as to the exact numbers on board, rescued, or lost.

Due in particular to the very successful film "Titanic", the last years saw a rise in public interest in the Titanic. Very detailed data about the passengers is now available on the Internet, at sites such as "Encyclopedia Titanica".

Examples

Run this code
data(titanic)

Run the code above in your browser using DataLab