powered by
Data for Example 8.3
Politic
A data frame with 250 observations on the following 2 variables.
Party
a numeric vector
Gender
# NOT RUN { str(Politic) attach(Politic) table(Party,Gender) chisq.test(table(Party,Gender)) detach(Politic) # }
Run the code above in your browser using DataLab