titanic: Titanic dataset

titanicR 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)

moreparty documentation built on Nov. 22, 2023, 5:08 p.m.