powered by
Data for Exercise 8.25
Bus
A data frame with 2 observations on the following 6 variables.
Attend
a factor with levels Absent Present
Absent
Present
AM
a numeric vector
Noon
PM
Swing
Split
# NOT RUN { str(Bus) attach(Bus) Bus chisq.test(Bus[,2:6]) detach(Bus) # }
Run the code above in your browser using DataLab