Learn R Programming

BSDA (version 1.01)

Referend: Opinion on referendum by view on freedom of the press

Description

Data for Exercise 8.20

Usage

Referend

Arguments

Format

A data frame with 3 observations on the following 4 variables.

Response

a factor with levels A B C

For

a numeric vector

Against

a numeric vector

undecide

a numeric vector

Examples

Run this code
# NOT RUN {
str(Referend)
attach(Referend)
chisq.test(Referend[,2:4])
detach(Referend)
# }

Run the code above in your browser using DataLab