Skip to content

Instantly share code, notes, and snippets.

@Rharald
Created November 16, 2012 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rharald/4084172 to your computer and use it in GitHub Desktop.
Save Rharald/4084172 to your computer and use it in GitHub Desktop.
Vote by Age
unique(EP$QNo[EP$question=="Vote by Age"])
# 4 category breakdown
head(EP[EP$QNo==2, ])
# 6 category breakdown
head(EP[EP$QNo==3, ])
library(ggplot2)
library(plyr)
library(reshape)
load(file="PresExitPolls2012.Rdata")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment