Learn R Programming

alr4 (version 1.0.7)

Whitestar: Titanic Survivors

Description

For each person on board the fatal maiden voyage of the ocean liner Titanic, this dataset records sex, age (adult/child), economic status (first/second/third class, or crew) and whether or not that person survived. The name of the company that owned the Titanic was White Star. Several versions of these data exist in the R universe.

Arguments

Format

This data frame contains the following columns:

surv

Number of survivors

m

survivors + deaths

class

Crew or passanger class

age

adult or child

sex

male or female

References

Weisberg, S. (2014). Applied Linear Regression, 4th edition. Hoboken NJ: Wiley.

Examples

Run this code
head(Whitestar)

Run the code above in your browser using DataLab