Skip to content
Back to formatted view

Raw Message

Message-ID: <000c01c847da$08278730$18769590$@ru>
Date: 2007-12-26T16:11:53Z
From: Yuri Volchik
Subject: Adding milliseconds to zoo object
In-Reply-To: <971536df0712260709r13200a05p777780e12e7d641d@mail.gmail.com>

Thank you for replies Gabor & Brian,

Yes I did read the previous threads concerning similar problem and I saw
Dirk's post:

>> I pad my high-resolution times with an eps=1.0-6 to make them distinct,
if
>> need be 

So I presume the question is better formulated as how to pad high-resolution
times with an eps to make them distinct given that we have original index
with non-unique values, but order in the file reflect their relative
position inside this time interval.
 
2007-12-24 06:14:00  22.00
2007-12-24 06:14:00  22.00
2007-12-24 06:15:00  22.00
2007-12-24 06:15:00  22.00

My current idea is to convert timestamps to factors and run tapply on them,
but probably there is a better solution.