Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

polls_2008

Poll data for popular vote in 2008 presidential election


Description

Data from different pollsters for the popular vote between Obama and McCain in the 2008 presidential election.

Usage

data(polls_2008)

Format

An object of class data.frame.

Details

  • day. Days until election day. Negative numbers are reported so that days can increase up to 0, which is election day.

  • margin. Average difference between Obama and McCain for that day.

Source

Examples

data(polls_2008)
with(polls_2008, plot(day, margin))

dslabs

Data Science Labs

v0.7.4
Artistic-2.0
Authors
Rafael A. Irizarry, Amy Gill
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.