| titanic | R Documentation |
This dataset has been re-packaged for convenience from https://github.com/paulhendricks/titanic
Passenger ID
Passenger Survival Indicator
Passenger Class
Name
Sex
Age
Number of Siblings/Spouses Aboard
Number of Parents/Children Aboard
Ticket Number
Passenger Fare
Cabin
Port of Embarkation
Dummy variable for Sex="female"
A data frame with 1309 rows and 12 variables:
https://www.kaggle.com/c/titanic/data
fit <- pls("Survived ~ Age + Female + Age:Female",
data = titanic, ordered = "Survived")
pls_predict(fit, benchmark = "acc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.