This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#this is an r program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install required packages | |
install.packages('readr') | |
install.packages('plyr') | |
install.packages('dplyr') | |
install.packages('ggplot2') | |
install.packages('scales') | |
#load packages | |
library(readr) | |
library(plyr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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) |