[R] replacing elements of a zoo object

Gabor Grothendieck ggrothendieck at gmail.com
Mon Aug 29 23:26:11 CEST 2011


On Mon, Aug 29, 2011 at 4:59 PM, Gene Leynes <gleynes+r at gmail.com> wrote:
> David -
> I'm a little confused about why you would call that indexing error
> "trifling".  It seems like a pretty serious problem with the zoo
> internals.... although it seems to have been fixed in the latest version of
> zoo.

At one time zoo used this syntax:

   window(x, as.Date("2001-01-05")) <- 0

In more recent versions of zoo that still works but zoo also supports
the more usual indexing style syntax.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list