[R-SIG-Finance] [R-sig-finance] Time index conversion in zoo/xts

Yuri Volchik yuri.volchik at gmail.com
Wed Mar 26 16:43:19 CET 2008


Hi to all,

presume question mostly is to Gabor or Jeff:
when i add milliseconds to time index and create zoo (xts) object using some
simple code everything works fine (index (zoo,xts) has unique elements), but
when i added one line to correct for DST changes :

timestamps[format(timestamps,"%H:%M")<'07:00']<-timestamps[format(timestamps,"%H:%M")<'07:00']+3600

suddenly i get a warning about non-unique indices and later i get an error
when trying to merger xts (zoo) object.

I checked classes before and after this line and those seems to be the same
"POSIXt"  "POSIXlt".

Thanks
 

-- 
View this message in context: http://www.nabble.com/Time-index-conversion-in-zoo-xts-tp16304015p16304015.html
Sent from the Rmetrics mailing list archive at Nabble.com.



More information about the R-SIG-Finance mailing list