Description Usage Arguments Value Note References Examples
View source: R/HydRun_functions.R
Identifies turning/inflection points in a line.
1 | find.tp(X)
|
X |
The line being assessed for turning points. |
A data frame (format is 2 columns: index of turning points in X
and labels for peaks (1) and valleys (0)).
This is an R implementation of a function from the MATLAB toolbox HydRun.
Tang, W., & Carey, S. K. (2017). HydRun: a MATLAB toolbox for rainfall runoff analysis. Hydrological Processes, 31(15), 2670-2682.
1 | turning_points <- find.tp(response)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.