powered by
Covers midterm elections.
midterms_house
A data frame with 29 observations on the following 5 variables.
a numeric vector
The president in office.
President's party.
Unemployment rate.
Change in House seats for the president's party.
An older version of this data is at unemploy_pres.
unemploy_pres
# NOT RUN { library(ggplot2) ggplot(midterms_house, aes(x = unemp, y = house_change)) + geom_point() # }
Run the code above in your browser using DataLab