Displaying 1 result from an estimated 1 matches for "xcoredata".
Did you mean:
coredata
2011 Aug 20
1
Raw epoch time from XTS
Hi,
I have a very large data set stored as an xts object.
xts is very nice about showing row labels as "human readable" dates and times.
I want the actual epoch values that are stored internally. The only way I can find to access them is one-at-a-time using the internal function: xcoredata()
Calling this in an entire column, the "R" way doesn't work. It will only return a single value. Calling it in a loop for each row works but is painfully slow.
Since the epoch is stored internally, there must be some way to just grab it as a vector. Does anyone know how?
Thanks...