Learn R Programming

moreparty (version 0.4)

titanic: Titanic dataset

Description

A dataset describing the passengers of the Titanic and their survival

Usage

data("titanic")

Arguments

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

Run this code
data(titanic)
str(titanic)

Run the code above in your browser using DataLab