flow_threshold_split_apply.Rd
Split Flow-to-Suitable-Area Curve at Flow Threshold
flow_threshold_split_apply(
data,
flow_threshold = NULL,
.flow_threshold_var = NULL,
.id_var = comid,
.flow_var = flow_cfs,
.habitat_var = wua_per_lf,
.group_var = NULL
)
A data.frame
or tbl_df
containing flow-to-suitable area curves (one row per flow per site, columns for flow and suitable area)
A numeric value for a flow threshold defining the instream-floodplain split
An unquoted column name for the flow threshold column in the data frame. Ignored if flow_threshold
is provided.
Unquoted column name for the variable id, defaults to comid
Unquoted column name for the flow in cfs, defaults to flow_cfs
Unquoted column name for the suitable area, defaults to wua_per_lf
Unquoted column name for an optional grouping variable
A new version of the data.frame
or tbl_df
containing additional columns for the instream and floodplain (below or above threshold) split