get_weeks_flooded.RdFunction returns number of weeks of floodplain inundation given a flow for a watershed
get_weeks_flooded(ws, flow_cfs)integer value for number of weeks
These relationships between number of days inundated and the mean monthly flow
are stored in weeks_inundated and referenced by this function.
For watersheds without a defined relationship, a two week inundation duration is assumed.
get_weeks_flooded('Yuba River', 900)
#> [1] 4