titanic | R Documentation |
A dataset describing the passengers of the Titanic and their survival
data("titanic")
A data frame with 1309 observations and the following 5 variables.
Survived
Factor. Whether one survived or not
Pclass
Factor. Passenger class
Sex
Factor. Sex
Age
Numeric vector. Age
Embarked
Factor. Port of embarkation
data(titanic)
str(titanic)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.