Learn R Programming

openintro (version 2.4.0)

smallpox: Smallpox vaccine results

Description

A sample of 6,224 individuals from the year 1721 who were exposed to smallpox in Boston. Some of them had received a vaccine (inoculated) while others had not. Doctors at the time believed that inoculation, which involves exposing a person to the disease in a controlled form, could reduce the likelihood of death.

Usage

smallpox

Arguments

Format

A data frame with 6224 observations on the following 2 variables.

result

Whether the person died or lived.

inoculated

Whether the person received inoculated.

Examples

Run this code

data(smallpox)
table(smallpox)

Run the code above in your browser using DataLab