A generic function to force sorted time vectors to be unique. Useful for
high-frequency time-series where original time-stamps may have identical
values. For the case of xts objects, the default eps is set to ten
microseconds. In practice this advances each subsequent identical time by
eps over the previous (possibly also advanced) value.
Should duplicates be dropped instead of adjusted by eps?
fromLast
When drop = TRUE, fromLast controls which duplicated
times are dropped. When fromLast = FALSE, the earliest observation with
an identical timestamp is kept and subsequent observations are dropped.
...
Unused.
Author
Jeffrey A. Ryan
Details
The returned time-series object will have new time-stamps so that
isOrdered(.index(x)) evaluates to TRUE.