powered by
Data for Exercise 8.21
Snore
A data frame with 2 observations on the following 5 variables.
heart
a factor with levels no yes
no
yes
Non
a numeric vector
occasion
nearly
every
# NOT RUN { str(Snore) attach(Snore) chisq.test(Snore[,2:5]) detach(Snore) # }
Run the code above in your browser using DataLab