vector_calculate_hsi.Rd
Calculate HSI for each row of SRH-2D results
vector_calculate_hsi(data, hsi_func = vector_dvhsi_hqt)
A tbl_df
of the format returned by vector_import_srh2d()
A function that takes a depth (ft) vector and velocity (ft/s) vector and returns a vector of habitat suitability index values between 0 and 1. Function arguments should be d
and v
in US units. Defaults to the vector_dvhsi_hqt
function in this package.
A tbl_df
data frame containing the calculated habitat suitability indices by flow (flow_cfs
) and vertex (vid
) along with the associated depths and velocities.