R/cumsum_ordered.R
cumsum_ordered.Rd
Calculating cumulative sum while keeping the original data order.
cumsum_ordered(x)
Input.
Cumulative sum while keeping the order of input data.