View source: R/aggregate.baseflow.R
aggregate.baseflow | R Documentation |
Computes baseflow statistics for user-specified periods of time.
## S3 method for class 'baseflow' aggregate(x, by = "months", index = FALSE, ...)
x |
an object of class "baseflow." |
by |
the time period to aggregate by. See Details. |
index |
compute the baseflow index (proportion of baseflow to total flow) rather than baseflow? |
... |
not used, required for other methods. |
The aregument by
can be either a character indicating the period, or a list
created by setSeasons
. If a character , then must be "months," "years,"
"calendar years," "water years," "climate years," or "total."
May be abbreviated; and "years" is the same as "calendar years."
The baseflow for each period specified in by
. The units are
the same as for x
.
part
, hysep
, bfi
,
setSeasons
## Not run: library(smwrData) data(GlacialRidge) G12.hysep <- with(ChoptankFlow, hysep(Flow, datetime, da=113, STAID="01491000")) # monthly summary of recharge in feet aggregate(G12.hysep) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.