Learn R Programming

UPG (version 0.2.2)

titanic: Grouped Titanic survival data.

Description

A dataset containing the number of survivals and the total number of persons by passenger class, age group and gender.

Usage

titanic

Arguments

Format

A data frame with 78 rows and 6 variables:

survived

number of passengers that survived

total

number of total passengers

intercept

an intercept

pclass

passenger class (1 highest, 3 lowest)

female

dummy for females

age.group

age group indicator (0-5yrs, 5-10yrs, ...)