Learn R Programming

MLGdata (version 0.1.0)

Infant: Infant survival

Description

Study that relates the survival of infants to length of gestation, age and smoking habit of mothers.

Usage

Infant

Arguments

Format

A data frame with 16 observations on the following 5 variables

survival

survival of the infant, factor with 2 levels (No, Yes)

gestation

length of gestation (in days), factor with 2 levels (<=260, >260)

smoking

number of cigarettes per day smoked by the mother, factor with 2 levels (<5, >5)

age

age of the mother (in years), factor with 2 levels (<30, >30)

Freq

frequency of infant in the cross classification of the previous 4 variables