Skip to content
Prev 174588 / 398506 Next

performance: zoo's rollapply() vs inline

On Mon, Mar 23, 2009 at 5:08 AM, Achim Zeileis
<Achim.Zeileis at wu-wien.ac.at> wrote:
Also check out ?diff.zoo and note the arithmetic = FALSE argument although
using lag.zoo as above may be slightly faster.

If the above is not your real problem also check out rollmean, rollmedian
and rollmax which are also written in R but have been optimized for those
operations.

The xts package has some routines written in C that may also be applicable.