Skip to content

Instantly share code, notes, and snippets.

#this is an r program
#install required packages
install.packages('readr')
install.packages('plyr')
install.packages('dplyr')
install.packages('ggplot2')
install.packages('scales')
#load packages
library(readr)
library(plyr)
@eklanche
eklanche / race.r
Last active December 16, 2015 20:16
#Graph population by race for each census, 1850-1880 and 1900-2000
#Graph by race for particular censuses
#Emily Klancher Merchant 12.16.15
#load libraries
library(ggplot2)
library(scales)
library(grid)
library(RColorBrewer)