This function returns an estimated suitable habitat area based on bypass and flow.

set_bypass_habitat(bypass, flow)

Arguments

bypass

one section of the bypasses ('yolo1', 'yolo2', 'sutter1', 'sutter2', 'sutter3', or 'sutter4')

flow

value used to determine habitat area

Value

habitat area in square meters

Examples

# habitat area in square meters for section 1 of the yolo bypass at 200 cfs
set_bypass_habitat('yolo1', 200)
#> [1] 974867.7