regime {FlowScreen} | R Documentation |
Plot flow regime
Description
This function plots the min, max, mean, and two user-defined quantiles of daily streamflow to provide visual summary of the flow regime. Area between the upper and lower quantile is shaded grey, the dark blue line represents the mean daily discharge, gray line represents the median daily discharge, and the period of record daily maximum and minimum are shown with the blue points.
Usage
regime(TS, q = c(0.9, 0.1), text = "d", by = "hdoy", y.lims = NA)
Arguments
TS |
output from |
q |
Numeric vector of the upper and lower quantile values. Default is c(0.9, 0.1). |
text |
optional character string for margin text, e.g. for station name,
location, or other notes. Set to NULL if no margin text is wanted, or set to "d"
to use default text containing the station ID, station name, and province/state
returned from |
by |
Character string indicating whether to plot the regime by day of
the hydrologic year (defined using |
y.lims |
optional user-defined y-axis minimum and maximim. e.g. c(0, 500) |
Author(s)
Jennifer Dierauer
Examples
# plot the flow regime of the Caniapiscau River
data(cania.sub.ts)
regime(cania.sub.ts)