titanic | R Documentation |
This data set provides information on the fate of passengers on the fatal maiden voyage of the ocean liner ‘Titanic’, summarized according to economic status (class), sex, age and survival.
data("titanic")
A data frame with 16 observations on the following 5 variables.
NoSurv
Number of passengers that did not survive.
YesSurv
Number of survivors.
Class
1st, 2nd, 3rd, Crew
Sex
Male, Female
Age
Child, Adult
rearranged from the R base dataset Titanic
Dawson, Robert J. MacG. (1995), The ‘Unusual Episode’ Data Revisited. Journal of Statistics Education, 3. doi: 10.1080/10691898.1995.11910499.
The source provides a data set recording class, sex, age, and survival status for each person on board of the Titanic, and is based on data originally collected by the British Board of Trade and reprinted in:
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.
data(titanic)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.