Skip to content

Instantly share code, notes, and snippets.

@nickgarvey
Created May 14, 2014 17:26
Show Gist options
  • Save nickgarvey/d1603a67560ffb56a859 to your computer and use it in GitHub Desktop.
Save nickgarvey/d1603a67560ffb56a859 to your computer and use it in GitHub Desktop.
library('ggplot2')
library('reshape2')
setwd('eda/problem_sets/ps3/gapminder')
aid <- melt(t(read.csv('aid_per_person.csv', header=TRUE, row.names = 1)))
aid["Var1"] <- gsub("[.]0", "", aid["Var1"])
head(aid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment