Skip to content
Back to formatted view

Raw Message

Message-ID: <971536df05042911081f1a083c@mail.gmail.com>
Date: 2005-04-29T18:08:49Z
From: Gabor Grothendieck
Subject: its filter
In-Reply-To: <3f87cc6d05042910586e1e056b@mail.gmail.com>

Try:

install.packages("zoo") # rollmean, etc. and rapply are new as of zoo 0.9-9
library(zoo) 
as.its(rollmean(as.zoo(x), 5))

See ?rollmean and ?rapply in the zoo package.

On 4/29/05, Omar Lakkis <uofiowa at gmail.com> wrote:
> filter() returns a ts object even if x is an its. Is there a filter
> function that returns an its output for an its input?