dft | R Documentation |
The sinking of the Titanic is one of the most infamous shipwrecks in history. On April 15, 1912, during her maiden voyage, the widely considered "unsinkable" RMS Titanic sank after colliding with an iceberg. Unfortunately, there weren’t enough lifeboats for everyone onboard, resulting in the death of 1502 out of 2224 passengers and crew. While there was some element of luck involved in surviving, it seems some groups of people were more likely to survive than others. This dataset contains the details of a subset of the passengers on board (891 to be exact) taken from Kaggle's Titanic Train.csv.
data(dft)
An object of class "data.frame"
Unique ID for each passenger (1-891)
Did the passenger survive? (TRUE, FALSE)
Ticket class, from first to third (1, 2, 3)
Gender (female, male)
Age for each passenger in years (0.42-80)
Amount of siblings / spouses aboard the Titanic (0-8)
Amount of parents / children aboard the Titanic (0-6)
Ticket IDs
Amount paid for passenger's ticket (0-512.3292)
width of top of diamond relative to widest point (43-95)
Port of Embarkation (43-95)
data.frame
Other Dataset:
dfr
data(dft)
head(dft)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.