powered by
Data used in Exercise 8.22
Allergy
A data frame with 3 observations on the following 4 variables.
C1.T
a factor with levels Drowsiness Headache Insomnia
Drowsiness
Headache
Insomnia
Seldane
a numeric vector
Pseudoep
Placebo
# NOT RUN { 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) # }
Run the code above in your browser using DataLab