Tags / cumsum
A lagged rolling interval window in dplyr: How to calculate cumulative sales from a certain point in time using R and the dplyr library.
Splitting Data.table by Cumsum of Column in R: A Powerful Technique for Large Datasets
Mastering Apply Functions with xts Objects in R for Efficient Time Series Analysis