movement.Rd
Sends fry Chinook salmon out of natal tributaries when they are at the fry stage
The snow_globe_movement
function sends fish out of natal tributaries
when the sum of flows at freeport and vernalis exceed a threshold
The genetic_movement
function sends fish out of natal tributaries
based on a user specified proportion
snow_globe_movement(
juveniles,
freeport_flow,
vernalis_flow,
threshold = 1000,
p_leave = 0.3,
stochastic = FALSE
)
genetic_movement(juveniles, p_leave = 0.25, stochastic = FALSE)
An n by 4 matrix of juvenile fish size s, m, l, vl
The flow at freeport in cubic meters per second
The flow at vernalis in cubic meters per second
the threshold combined flow for initiating fish movement out of natal tributaries
the proportion of juvenile fish leaving in response to high flows
when true the fish leaving are assigned randomly