Learn R Programming

CSHShydRology (version 1.4.2)

ch_booth_plot: Create Booth plot of peaks over a threshold

Description

A Booth plot is a plot of peaks over threshold flood events with duration on the horizontal and either magnitude (default) or volume on the vertical axis.

Usage

ch_booth_plot(events, threshold, title, type = "mag", colour1 = 1, colour2 = 1)

Value

No value is returned; a standard R graphic is created.

Arguments

events

A data frame of POT events from the function ch_get_peaks

threshold

The threshold used by ch_get_peaks

title

Plot title

type

The plot type, either mag (magnitude, the default) or vol (volume)

colour1

A vector of length 12 with line colours of rings or symbols. Defaults to those used by Booth.

colour2

A vector of length 12 with fill colours of rings or symbols. Defaults to those used by Booth.

Author

Paul Whitfield

References

Booth, E.G., Mount, J.F., Viers, J.H. 2006. Hydrologic Variability of the Cosumnes River Floodplain. San Francisco Estuary & Watershed Science 4:21.

Whitfield, P.H., and J.W. Pomeroy. 2016. Changes to flood peaks of a mountain river: implications for analysis of the 2013 flood in the Upper Bow River, Canada. Hydrological Processes 30:4657-73. doi: 10.1002/hyp.10957.

See Also

ch_get_peaks

Examples

Run this code
threshold <- 0.1 * max(CAN05AA008$Flow)  # arbitrary threshold
peaks <- ch_get_peaks(CAN05AA008, threshold)
events <- peaks$POTevents
ch_booth_plot(events, threshold, title = "05AA008", type='mag')
ch_booth_plot(events, threshold, title = "05AA008", type='vol')

Run the code above in your browser using DataLab