R Dataset / Package Stat2Data / Titanic


On this Picostat.com statistics page, you will find information about the Titanic data set which pertains to Titanic. The Titanic data set is found in the Stat2Data R package. You can load the Titanic data set in R by issuing the following command at the console data("Titanic"). This will load the data into a variable called Titanic. If R says the Titanic data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the Titanic R data set. The size of this file is about 62,279 bytes.



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


Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-67757.csv 60.82 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0