Learn R Programming

BSDA (version 1.01)

Drink: Opinion on referendum by view on moral issue of selling alcoholic beverages

Description

Data for Exercise 8.53

Usage

Drink

Arguments

Format

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

drink

a factor with levels immoral ok tolerated

For

a numeric vector

Against

a numeric vector

undecide

a numeric vector

Examples

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

Run the code above in your browser using DataLab