titanic {lgrdata}R Documentation

Passengers on the Titanic

Description

Survival status of passengers on the Titanic, together with their names, age, sex and passenger class. Not to be confused with the dataset Titanic, provided with R, which lists only tables of passengers. This dataset on the other hand provides one row per passenger.

Usage

titanic

Format

A data frame with 1313 rows and 5 variables:

Name

integer Recorded name of passenger

PClass

integer Passenger class: 1st, 2nd or 3rd

Age

double Age in years (many missing)

Sex

integer male or female

Survived

integer 1 = Yes, 0 = No

Details

DETAILS

Source

<http://www.statsci.org/data/general/titanic.html>


[Package lgrdata version 0.1.1 Index]