Learn R Programming

BSDA (version 1.01)

Ferraro1: Choice of presidental ticket in 1984 by gender

Description

Data for Exercise 8.23

Usage

Ferraro1

Arguments

Format

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

gender

a factor with levels Men Women

Reag.Bs

a numeric vector

Mond.Fer

a numeric vector

undecide

a numeric vector

Examples

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

Run the code above in your browser using DataLab