residplot function

Plot annual extreme residuals

Plot annual extreme residuals

Creates a plot with the maximum annual low- and high residuals for each year in the series.

residplot.extreme(x, text=FALSE, data=FALSE)

Arguments

  • x: Object of class streamflow.
  • text: Logical. If true, points corresponding to flows greater than 2σ2\sigma are labeled on the plot.
  • data: Logical. If true, the extreme residuals are returned in the output.

Returns

Plot with year on the x-axis and the maximum residual magnitude for that year on the y-axis.

If data=TRUE, output includes a list with the following components:

  • annual.max: Matrix with data corresponding to the maximum residual flow for each year in series.

  • annual.min: Matrix with data corresponding to the minimum residual flow for each year in series.

Examples

# load data data(sycamore) # plot residplot.extreme(asStreamflow(sycamore))

See Also

sigmaHighFlows

sigmaLowFlows

  • Maintainer: Samarth Shah
  • License: GPL-3
  • Last published: 2019-03-08

Useful links