Description Usage Arguments Value Examples
Estimates number of storm events based on quickflow time series.
1 | StormEvents(quickflow,qlimit=0)
|
quickflow |
Quickflow time series |
qlimit |
Minimum quickflow threshold. The StormEvents() function only consider events higher than this threshold while counting events |
Retun a dataframe with quickflow and corresponding storm event number.
1 2 3 4 5 6 7 8 9 10 11 | data("USGS_Streamflow")
#Baseflow estimate
df<-BaseFlowSeperation(streamflow, bf_method='Duncan', k=0.93, c=quantile(streamflow,probs = 0.25, na.rm=T), filter_parameter=0.925, passes=1)
#Storm Events
nev<-StormEvents(df$qft,qlimit = 2)
#Plot
plot(nev$quickflow,type = 'l')
lines(nev$nEvents,col='red')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.