Allergy {BSDA}R Documentation

Allergy medicines by adverse events

Description

Data used in Exercise 8.22

Usage

Allergy

Format

A data frame with 3 observations on the following 4 variables.

C1.T
a factor with levels Drowsiness Headache Insomnia
Seldane
a numeric vector
Pseudoep
a numeric vector
Placebo
a numeric vector

Source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

attach(Allergy)
X <- as.matrix(Allergy[1:3,2:4])
chisq.test(X)
Xr <- as.matrix(Allergy[2:3,2:4])
chisq.test(Xr)
detach(Allergy)

[Package BSDA version 0.1 Index]