hydro_events | R Documentation |
This function demarcates hydrological events. Start and endpoint of each event are identified by Local Minimum method (Sloto and Crouse, 1996) within the specified time window.
hydro_events(dataframe, q, datetime, window = 1)
dataframe |
A data set object |
q |
Water discharge variable (or water stage) |
datetime |
Datetime variable (column in POSIXct format) |
window |
Indicate time period to search for a local minimum (in hours) |
A data frame with class tbl_df
with a hydrological events
column he
added
Sloto, R.A., Crouse, M.Y., 1996. Hysep: a computer program for streamflow hydrograph separation and analysis, U.S. Geological Survey Water-Resources Investigations Report 96-4040.
data(djan) output_table <- hydro_events(dataframe = djan, q = discharge, datetime = time, window = 21)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.