I want to calculate a running sum of the next 5 rows. In this case, on row 1 it will show the sum of numbers from row 2 to row 6. The last 5 rows of the data frame can be filled with NA.
The data looks like this
And the ideal result would look like
Thank you!