Loading CSV with Date and Time into Zoo in R

March 25, 2011

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

Sometimes you are facing time series which has both date and time property in one column in CSV file. In this case you need to pass additional parameter into read.zoo function:   View Code RSPLUS1 z <- read.zoo("/path/to/file/test.csv", sep = ";", header = TRUE, tz = "CET")   or   View Code RSPLUS1 z <- […]

To leave a comment for the author, please follow the link and comment on their blog: QuantTrader » 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...

Tags: , ,

Comments are closed.