Created
December 2, 2010 18:03
-
-
Save Protonk/725764 to your computer and use it in GitHub Desktop.
Just a simple time series
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
library(WDI) | |
library(ggplot2) | |
growth.df<-WDI(country="all",indicator="NY.GDP.MKTP.KD.ZG",start=1961,end=2009,extra=TRUE) | |
growth.df<-subset(growth.df,growth.df$region != "Aggregates") | |
qplot(year,NY.GDP.MKTP.KD.ZG,data=growth.df,group=country,geom="line",alpha=I(0.1))+scale_y_continuous("GDP Growth"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment