titanic {moreparty}R Documentation

Titanic dataset

Description

A dataset describing the passengers of the Titanic and their survival

Usage

data("titanic")

Format

A data frame with 1309 observations and the following 5 variables.

Survived

Factor. Whether one survived or not

Pclass

Factor. Passenger class

Sex

Factor. Sex

Age

Numeric vector. Age

Embarked

Factor. Port of embarkation

Examples

data(titanic)
str(titanic)

[Package moreparty version 0.4 Index]