millisec timestamps for rows of xts/zoo object
On Sun, 2011-06-05 at 18:41 +0200, Ulrich Staudinger wrote:
I have an xts/zoo object called tempBs, which has nicely assigned the timestamps to each row (see below). How can I convert the row-label to seconds or milliseconds since the epoch beginning (or any other integer or double number)?
How about just using the POSIXct mode? options(digits.secs=6) should do it. see ?POSIXct
Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock