smooth.curve: Smooth runoff response data

Description Usage Arguments Value Note References Examples

View source: R/HydRun_functions.R

Description

Smooths runoff response data for runoff event delineation using a moving average filter (window is 3).

Usage

1
smooth.curve(X, Pass)

Arguments

X

The response data vector.

Pass

The number of filter passes used on X.

Value

A smoothed response vector.

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.

Examples

1
smoothed_response <- smooth.curve(response, 3)

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