fill.Rd
Allocates juvenile fish onto the floodplain and in-channel habitat. Once
available habitat is full, fish are assigned to out migrate.
The fill_natal
function is used to route fish within their natal tributary
and the fill_regional
function is used to route fish on the mainstem, bypasses, and deltas.
fill_natal(
juveniles,
inchannel_habitat,
floodplain_habitat,
territory_size = fallRunDSM::params$territory_size,
up_to_size_class = 2
)
fill_regional(
juveniles,
habitat,
floodplain_habitat = NULL,
territory_size = fallRunDSM::params$territory_size,
up_to_size_class = 3
)
fill_natal_dens_depend(
juveniles,
inchannel_habitat,
floodplain_habitat,
up_to_size_class = 2,
..floodplain_capacity = 5,
..habitat_capacity = 4,
territory_size = territory_size,
...
)
IP-117068
An n by 4 matrix of juvenile fish size s, m, l, vl
The available tributary habitat in square meters
The available floodplain habitat in square meters (NULL for bypasses and delta)
A length 4 array of juvenile fish territory requirements s, m, l, vl
Which size class and under is moved to floodplain and inchannel habitat (small = 1, medium = 2, large = 3, very large = 4)
See params
for details on parameter sources