Learn R Programming

diseasemapping (version 2.0.6)

casedata: Data set contains the number of cases information

Description

Cases of Hepatitis Z in Ontario.

Usage

data(casedata)

Arguments

Format

data frame

Details

This dataset refers to cases of Hepatitis Z in Ontario for the years 1916 to 1918, giving the number of cases in each census subdivision by age, sex and year. For reasons of privacy, any counts between 1 and 5 have been changed to 1.

Examples

Run this code
data(casedata)
head(casedata)
table(casedata$cases)
tapply(casedata$cases, casedata$age, sum)

## maybe str(casedata) ; plot(casedata) ...

Run the code above in your browser using DataLab