Remove Baseflow via Flow Threshold (Single)

flow_threshold_remove_baseflow(
  data,
  flow_threshold,
  .flow_var = flow_cfs,
  .habitat_var = wua_per_lf
)

Arguments

data

A data.frame or tbl_df containing a flow-to-suitable-area curve

flow_threshold

A numeric value for a flow threshold defining baseflow.

.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 tbl_df data frame with one row per flow containing two columns: the flow and the modified suitable habitat area with baseflow removed.