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