titanic.complete: Titanic passenger data

titanic.completeR Documentation

Titanic passenger data

Description

Titanic passenger survival data. Complete cases only.

Usage

data(titanic.complete)

Format

A data frame with the following columns:

Survived

Whether a passenger survived.

Pclass

The class of the passenger's ticket. A factor with 3 levels.

Sex

Male or female. A factor with 2 levels.

Age

The age of the passenger.

SibSp

The number of siblings/spouse aboard.

Parch

The number of parents/children aboard.

Fare

The passenger's fare.

Embarked

The passenger's port of embarkation. A factor with 3 levels.

References

https://www.kaggle.com/c/titanic/data

Examples

data(titanic.complete)

stableGR documentation built on Oct. 8, 2022, 1:05 a.m.