This function sets the resource interaction for each species to absorb as
much of the external encounter rate as possible. It sets the resource
dynamics and adjusts the resource capacity so that the resource can sustain
the extra encounter without changing the current resource abundance or the
resource level.
Usage
setResourceInteraction(params, resource_dynamics = "resource_semichemostat")
Arguments
- params
A mizer params object
- resource_dynamics
Optional. Name of the function that determines the
resource dynamics by calculating the resource spectrum at the next time
step from the current state. If not provided, the function will
use resource_semichemostat()
.
Value
The modified mizer params object with increased interaction_resource
species parameters and correspondingly decreased external encounter rate.
Details
If the initial abundances were at steady state, then they will remain at
steady state. This is because the total encounter rate is not modified by
this function and because the extra mortality on the resource is exactly
balanced by the changed resource capacity.