powered by
Data from different pollsters for the popular vote between Obama and McCain in the 2008 presidential election.
polls_2008
An object of class data.frame.
data.frame
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.
with(polls_2008, plot(day, margin))
Run the code above in your browser using DataLab