[R] Loading Intraday Time Series Data
steve.johns at verizon.net
Sun May 16 13:22:31 CEST 2010
I am trying to load a data file that looks like this:
into an R timeseries or ts object.
The key point is that both the date and time need to become part of the
With zoo, this line will load the data:
z <- read.zoo("foo_hs.csv", format = "%m/%d/%Y", sep=",", header = TRUE )
but the Time does not become part of the index this way. This means the
index is non-unique, and that is not the goal.
Could someone kindly show me a way, using R itself, to deal with the
separate Date and Time columns so as to properly combine them into the
index for the timeseries?
More information about the R-help