powered by
Data for Exercise 8.24
Seatbelt
A data frame with 2 observations on the following 5 variables.
seatbelt
a factor with levels no yes
no
yes
None
a numeric vector
Minimal
Minor
Major
# NOT RUN { str(Seatbelt) attach(Seatbelt) Seatbelt chisq.test(Seatbelt[,2:5]) detach(Seatbelt) # }
Run the code above in your browser using DataLab