Learn R Programming

GLMsData (version 1.4)

earinf: Ear infections in swimmers

Description

The number of ear infections in swimmers

Usage

data(earinf)

Arguments

Format

A data frame with 287 observations on the following 5 variables.

Swim

how often the swimmer swims in the ocean; a factor with levels Freq (frequently) and Occas (occasionally)

Loc

the reported usual swimming location; a factor with levels Beach and NonBeach

Age

the age group; a factor with levels 15-19, 20-24 and 25-29

Sex

the sex; a factor with levels Female and Male

NumInfec

the number of self-diagnosed ear infections; a numeric vector

Infec

whether there are self-diagnosed ear infections; a numeric vector where 0 means no self-reported infection, and 1 means at least one self-reported ear infection

Details

The data give the number of self-reported ear infections in the 1990 Pilot Surf/Health Study of nsw Water Board.

References

D. J. Hand, F. Daly, A. D. Lunn, K. J. McConway, and E. Ostrowski (1994) A Handbook of Small Data Sets, London: Chapman and Hall. Dataset 328.

Examples

Run this code
data(earinf)
summary(earinf)

Run the code above in your browser using DataLab