powered by
Data for Exercise 8.53
Drink
A data frame with 3 observations on the following 4 variables.
drink
a factor with levels immoral ok tolerated
immoral
ok
tolerated
For
a numeric vector
Against
undecide
# NOT RUN { str(Drink) attach(Drink) Drink chisq.test(Drink[,2:4]) detach(Drink) # }
Run the code above in your browser using DataLab