Skip to contents

The presvote2008 dataset contains data on the voting behavior in the 2008 U.S. Presidential election, where a vote for John McCain is coded as 0 and a vote for Barack Obama is coded as 1.

Usage

data(presvote2008)

Details

This dataset provides a binary coding for the voting choice in the 2008 U.S. Presidential election, which can be used for various analyses, such as logistic regression, to study voting behavior and preferences.

Examples

if (FALSE) { # \dontrun{
data(presvote2008)
} # }