Learn R Programming

RCPA3 (version 1.3.1)

ch6ex: Dataset for Chapter 6 Exercises, An R Companion to Political Analysis, Third Edition

Description

A hypothetical dataset of human subject research

Usage

ch6ex

Arguments

Format

A data frame with 100 rows and 7 variables.

id

Unique identification number for each subject

subject_name

Last name of subject

age

Age of subject in years

partyid

Self-identified party identification from pretest

prior_classes

Number of political science classes subject has completed

site_viewed

Did subject view the candidate's old or new site in the experiment?

site_rating

Subject's rating of candidate on feeling thermometer after viewing web site