titanic

0th

Percentile

Passengers and Crew on the RMS Titanic

the titanic data is a complete list of passengers and crew members on the RMS Titanic. It includes a variable indicating whether a person did survive the sinking of the RMS Titanic on April 15, 1912.

Keywords
datasets
Usage
data("titanic")
Details

The website http://www.encyclopedia-titanica.org/ offers detailed information about passengers and crew members on the RMS Titanic. According to the website 1317 passengers and 890 crew member were abord.

8 musicians and 9 employees of the shipyard company are listed as passengers, but travelled with a free ticket, which is why they have NA values in fare. In addition to that, fare is truely missing for a few regular passengers.

Format

A data frame containing 2207 observations on 11 variables.

name

a string with the name of the passenger.

gender

a factor with levels male and female.

age

a numeric value with the persons age on the day of the sinking. The age of babies (under 12 months) is given as a fraction of one year (1/month).

class

a factor specifying the class for passengers or the type of service aboard for crew members.

embarked

a factor with the persons place of of embarkment.

country

a factor with the persons home country.

ticketno

a numeric value specifying the persons ticket number (NA for crew members).

fare

a numeric value with the ticket price (NA for crew members, musicians and employees of the shipyard company).

sibsp

an ordered factor specifying the number if siblings/spouses aboard; adopted from Vanderbild data set (see below).

parch

an ordered factor specifying the number of parents/children aboard; adopted from Vanderbild data set (see below).

survived

a factor with two levels (no and yes) specifying whether the person has survived the sinking.

References

http://www.encyclopedia-titanica.org/ and http://biostat.mc.vanderbilt.edu/DataSets.

Aliases
  • titanic
Examples
# NOT RUN {
data("titanic", package = "stablelearner")
summary(titanic)
# }
Documentation reproduced from package stablelearner, version 0.1-2, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.