Learn R Programming

glmm (version 1.4.5)

bacteria: Presence of Bacteria after Drug Treatments

Description

Tests of the presence of the bacteria H. influenzae in children with otitis media in the Northern Territory of Australia.

Usage

data(bacteria)

Arguments

Format

A data frame with the following columns:

y

Presence or absence: a factor with levels n and y.

ap

active/placebo: a factor with levels a and p.

hilo

hi/low compliance: a factor with levels hi and lo.

week

Numeric: week of test.

ID

Subject ID: a factor.

trt

A factor with levels placebo, drug, drug+, a re-coding of ap and hilo.

y2

y reformatted as 0/1 rather than n/y.

Details

Dr. A. Leach tested the effects of a drug on 50 children with a history of otitis media in the Northern Territory of Australia. The children were randomized to the drug or the a placebo, and also to receive active encouragement to comply with taking the drug.

The presence of H. influenzae was checked at weeks 0, 2, 4, 6 and 11: 30 of the checks were missing and are not included in this data frame.

References

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S, Fourth edition. Springer.

Examples

Run this code
data(bacteria)

Run the code above in your browser using DataLab