resource_constant {mizer} | R Documentation |
Keep resource abundance constant
Description
If you set your resource dynamics to use this function then the resource abundances are kept constant over time.
Usage
resource_constant(params, n_pp, ...)
Arguments
params |
A MizerParams object |
n_pp |
A vector of the resource abundance by size |
... |
Unused |
Details
To set your model to keep the resource constant over time you do
resource_dynamics(params) <- "resource_constant"
where you should replace params
with the name of the variable holding your
MizerParams object.
Value
Vector containing resource spectrum at next timestep
See Also
Other resource dynamics:
resource_logistic()
,
resource_semichemostat()
Examples
params <- NS_params
resource_dynamics(params) <- "resource_constant"
[Package mizer version 2.5.1 Index]