flood_divide.Rd
detect_flood_events
flood_divide
detect_groups(df, inds, gap_max = 5, extend = ddays(5)) detect_flood_events(date, Q, Q_min = 2, Q_peak = 10, gap_max = 5) flood_divide(df, ...) merge_flood(df, info_flood, format = "%Y.%m")
A data.table with date and Q columns
distance smaller than gap_max is considered as a same group
minimum discharge to detect flood events
peak discharge to detect flood events
parameters passed to detect_flood_events()
detect_flood_events()