titanic {UPG} | R Documentation |
Grouped Titanic survival data.
Description
A dataset containing the number of survivals and the total number of persons by passenger class, age group and gender.
Usage
titanic
Format
A data frame with 78 rows and 6 variables:
- survived
number of passengers that survived
- total
number of total passengers
- intercept
an intercept term
- pclass
passenger class (3 is lowest)
- female
binary indicator for female passenger groups
- age.group
age group indicator (0-5yrs, 5-10yrs, ...)
Source
Data originally sourced from https://web.stanford.edu/class/archive/cs/cs109/cs109.1166/stuff/titanic.csv. See also https://towardsdatascience.com/the-binomial-regression-model-everything-you-need-to-know-5216f1a483d3.
[Package UPG version 0.3.4 Index]