Time series data

June 28, 2009

(This article was first published on Learning R, and kindly contributed to R-bloggers)

gdp <- read.table("c:/data/GDPC96.txt", header = TRUE) attach(gdp) as.Date(date) plot(gdp~date, data=gdp,pch=16,xlab=””,ylab=”GDP (2000 dollars)”)

To leave a comment for the author, please follow the link and comment on their blog: Learning R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.