Skip to content
Prev 68833 / 398506 Next

its filter

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: