TitanicR Documentation

Passengers on the Titanic


List and outcomes for passengers on the Titanic


A dataset with 1313 observations on the following 6 variables.

Name Passenger name
PClass Passenger class: *=missing, 1st, 2nd, or 3rd
Age Age (in years)
Sex female or male
Survived 1=survived or 0=died
SexCode 1=female or 0=male


The Titanic was a British luxury ocean liner that sank famously in the icy North Atlantic on its maiden voyage in April of 1912. Of the approximately 2200 passengers on board, 1500 died. The high death rate was blamed largely on the inadequate supply of lifeboats, a result of the manufacturer's claim that the ship was "unsinkable." A partial data set of the passenger list was compiled by Philip Hinde in his Encyclopedia Titanica and is given in this dataset.


Philip Hinde's Encyclopedia Titanica, http://www.encyclopedia-titanica.org/. Data may also be downloaded from the Australasian Data and Story Library (OzDASL) at