titanic {twoxtwo} | R Documentation |
Expanded Titanic dataset
Description
This data is based on the Titanic dataset. Unlike the version in the datasets
package, the data here is expanded to the observation-level rather than cross-tabulated.
Usage
titanic
Format
A data frame with 2201 rows and 4 variables:
-
Class: Passenger class ("1st", "2nd", "3rd") or crew status ("Crew")
-
Crew: Logical as to whether or not a crew member (TRUE) or not (FALSE)
-
Sex: Sex of individual ("Male" or "Female")
-
Age: Categorized age ("Adult" or "Child")
-
Survived: Whether or not individual survived ("Yes" or "No")
Examples
head(titanic)
[Package twoxtwo version 0.1.0 Index]