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!

--
Noah Silverman
UCLA Department of Statistics
8117 Math Sciences Building
Los Angeles, CA 90095

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to