RollingFunctions.jl icon indicating copy to clipboard operation
RollingFunctions.jl copied to clipboard

rollsum, runsum

Open Mastomaki opened this issue 2 years ago • 1 comments

Thanks for this package! I kindly request rollsum and runsum functions. And more documentation on the custom functions running(function, data, windowsize).

Mastomaki avatar Oct 20 '21 06:10 Mastomaki

using RollingFunctions

rollsum(data, windowsize) = rolling(sum, data, windowsize)
runsum(data, windowsize) = running(sum, data, windowsize)

hope that helps -- I will add the examples to the README.md

JeffreySarnoff avatar Oct 22 '21 12:10 JeffreySarnoff