View source: R/cumulDailyWater.R
cumulDailyWater | R Documentation |
Accumulates water fluxes by year or water year. The values are cumulative for each day.
cumulDailyWater(dailyWaterVals, waterYear = FALSE, logfile = "")
dailyWaterVals |
Required. CRHM daily water fluxes as calculated by |
waterYear |
Optional. If |
logfile |
Optional. Name of the file to be used for logging the action. Normally not used. |
If successful, returns a data frame containing the date and the cumulative values of each variable.
If unsuccessful, returns FALSE
.
The output from this function can be plotted using simpleRibbonPlot
.
Kevin Shook
simpleDailyWater
simpleRibbonPlot
## Not run:
waterYearCumul <- cumulDailyWater(CRHM_daily, waterYear=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.