Remove Baseflow via Flow Threshold (Multiple)

flow_threshold_remove_baseflow_apply(
  data,
  .flow_threshold_var,
  .flow_var = flow_cfs,
  .habitat_var = wua_per_lf
)

Arguments

data

A data.frame or tbl_df containing flow-to-suitable-area curves for multiple groups. All variables except for the .flow_var and .habitat_var will be treated as groups.

.flow_threshold_var

Unquoted column name for the flow threshold defining baseflow for each group.

.flow_var

Unquoted column name for the flow in cfs, defaults to flow_cfs

.habitat_var

Unquoted column name for the suitable area, defaults to wua_per_lf

Value

A modified version of the original data.frame or tbl_df with additional flow and habitat columns identified by "_nbfc" ("no baseflow channel)