Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollsum, runsum #20

Open
Mastomaki opened this issue Oct 20, 2021 · 1 comment
Open

rollsum, runsum #20

Mastomaki opened this issue Oct 20, 2021 · 1 comment

Comments

@Mastomaki
Copy link

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

@JeffreySarnoff
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants