Hi list,
I'm a little confused about rollapply in zoo. There is written that
rollapply has replaced rapply in version 1.2-0 which is what i have. But
when I tried,
> rollapply(1:100, 10, mean)
I got,
Error in rollapply(1:100, 10, mean) : no applicable method for
"rollapply"
So I went back to
As indicated in ?rollmean there are only ts and zoo methods
for rollapply. Try
rollapply(zoo(1:10), 3, mean)
Also note that as indicated in ?rollmean, rollmean does
have a default method:
rollmean(1:10, 3)
On 10/3/06, Horace Tso <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> I'm a little confu