Skip to content
Prev 5803 / 15274 Next

"Package", please ...

rollapply is part of the zoo package and it is intended to both input
and output a zoo object.  There are zoo and zooreg methods.  If you
use rollapply then the usual S3 method search applies.

Thus if the first arg is an xts object then such an object has a class
vector of c("xts", "zoo") so rollapply.zoo gets used.

On Fri, Mar 12, 2010 at 12:42 AM, Robert Nicholson
<robert.nicholson at gmail.com> wrote: