cumsumDataframe | R Documentation |
Finds the cumulative sum of all columns in a data frame. Note that all columns must be numeric - date and datetime variables cannot be summed.
cumsumDataframe(df)
df |
Required. Data frame to be summed. |
Returns a dataframe containing the cumulative sums of all columns in the original data frame.
This function is used by other CRHMr functions, so it does NO parameter testing.
Kevin Shook
cumulDailyWater
## Not run:
cumul <- cumsumDataframe(modelOutput)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.