powered by
Data for Exercise 8.33
Spouse
A data frame with 4 observations on the following 3 variables.
result
a factor with levels acquitted convicted not prosecuted pleaded guilty
acquitted
convicted
not prosecuted
pleaded guilty
husband
a numeric vector
wife
# NOT RUN { str(Spouse) attach(Spouse) Spouse chisq.test(Spouse[,2:3]) detach(Spouse) # }
Run the code above in your browser using DataLab