Skip to content
Prev 1943 / 15274 Next

Adding milliseconds to zoo object

Thank you for replies Gabor & Brian,

Yes I did read the previous threads concerning similar problem and I saw
Dirk's post:
if
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.