Learn R Programming

missMDA (version 1.19)

TitanicNA: Categorical data set with missing values: Survival of passengers on the Titanic

Description

This data set provides information on the fate of passengers on the fatal maiden voyage of the ocean liner Titanic, summarized according to economic status (class), sex, age and survival. Twenty percent of values are missing completely at random on each variable.

Usage

data(TitanicNA)

Arguments

Format

A data frame with 2201 observations on the following 4 variables:

CLASS 0 = crew, 1 = first, 2 = second, 3 = third, denoting the economic status of the subject

AGE 1 = adult, 0 = child, denoting if the subject is an adult or a child

SEX 1 = male, 0 = female, denoting the sex of the subject

SURV 1 = yes, 0 = no, denoting if the passenger lived through the fatal maiden voyage of the ocean liner Titanic

Examples

Run this code
data(TitanicNA)

Run the code above in your browser using DataLab