Referend | R Documentation |
Data for Exercise 8.20
Referend
A data frame with 237 observations on two variables
a factor with levels A
, B
, and C
a factor with levels for
, against
, and undecided
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
T1 <- xtabs(~choice + response, data = Referend)
T1
chisq.test(T1)
chisq.test(T1)$expected
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.