match.precip.runoff: Match precipitation and runoff events

Description Usage Arguments Value Note References Examples

View source: R/HydRun_functions.R

Description

match.precip.runoff is used to match precipitation-runoff events.

Usage

1
match.precip.runoff(PrecipEvents, RunoffEvents, n)

Arguments

PrecipEvents

A list containing precipitation events, where each event is a data frame (format is 2 columns: datetime and precipitation).

RunoffEvents

A list containing runoff events, where each event is a data frame (format is 2 columns: datetime and stormflow).

n

The search window. The left edge of the window is n hours before the start of the runoff event.

Value

A list containing matched precipitation and runoff events.

Note

This is an R implementation of a function from the MATLAB toolbox HydRun.

References

Tang, W., & Carey, S. K. (2017). HydRun: a MATLAB toolbox for rainfall runoff analysis. Hydrological Processes, 31(15), 2670-2682.

Fuka, D. R., Walter, M. T., Archibald, J. A., Steenhuis, T. S., Easton, Z. M., Fuka, M. D., & KeepSource, T. R. U. E. (2014). Package EcoHydRology.

Examples

1
events <- match.precip.runoff(PrecipEvents, RunoffEvents, n = 96)

codyalbertross/HydRun documentation built on Dec. 19, 2021, 5:21 p.m.