The titanic3 data frame describes the survival
status of individual passengers on the Titanic. The
titanic3 data frame does not contain information
for the crew, but it does contain actual and estimated
ages for almost 80% of the passengers.
titanic3A data frame with 1309 observations on the following 14 variables:
pclassa factor with levels 1st, 2nd, and 3rd
survivedSurvival (0 = No; 1 = Yes)
nameName
sexa factor with levels female and male
ageage in years
sibspNumber of Siblings/Spouses Aboard
parchNumber of Parents/Children Aboard
ticketTicket Number
farePassenger Fare
cabinCabin
embarkeda factor with levels Cherbourg,
Queenstown, and Southampton
boatLifeboat
bodyBody Identification Number
home.destHome/Destination
Thomas Cason of UVa has greatly updated and improved the
titanic data frame using the Encyclopedia Titanica
and created a new dataset called titanic3. This dataset
reflects the state of data available as of August 2, 1999. Some
duplicate passengers have been dropped, many errors have been corrected,
many missing ages have been filled in, and new variables have
been created.
Harrell, F. E. (2001) Regression Modeling Strategies with Applications to Linear Models, Logistic Regression, and Survival Analysis. Springer.
# NOT RUN {
with(titanic3,
table(pclass, sex))
# }
Run the code above in your browser using DataLab