aggregate.baseflow: Baseflow Summary

View source: R/aggregate.baseflow.R

aggregate.baseflowR Documentation

Baseflow Summary

Description

Computes baseflow statistics for user-specified periods of time.

Usage

## S3 method for class 'baseflow'
aggregate(x, by = "months", index = FALSE, ...)

Arguments

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.

Details

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."

Value

The baseflow for each period specified in by. The units are the same as for x.

See Also

part, hysep, bfi, setSeasons

Examples

## 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)

USGS-R/DVstats documentation built on Oct. 11, 2022, 6:03 a.m.