Skip to content
Prev 6940 / 15274 Next

merge zoo with many entries per date with lagged self using ticker

On Sun, Nov 14, 2010 at 12:52 PM, richard.c.herron at gmail.com
<richard.c.herron at gmail.com> wrote:
zoo series are time series and time series are functions of time so
you can't have multiple times that are the same (or else it would not
be a function). See zoo FAQ #1
vignette("zoo-faq")

Normally in zoo you would represent your data in wide form rather than
long form in which case there is no problem:
a.lag0 b.lag0 c.lag0 a.lag1 b.lag1 c.lag1
Aug 2008      1      2      3      4      5      6
Sep 2008      4      5      6      7      8      9
Oct 2008      7      8      9     10     11     12
Nov 2008     10     11     12     NA     NA     NA