Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Referend

Opinion on referendum by view on freedom of the press


Description

Data for Exercise 8.20

Usage

Referend

Format

A data frame with 237 observations on two variables

choice

a factor with levels A, B, and C

response

a factor with levels for, against, and undecided

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

T1 <- xtabs(~choice + response, data = Referend)
T1
chisq.test(T1)
chisq.test(T1)$expected

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.