powered by
This function can be used instead of the standard resource_semichemostat() in order to keep the resource spectrum constant over time.
resource_semichemostat()
resource_constant(params, n, n_pp, n_other, rates, t, dt, ...)
A MizerParams object
A matrix of species abundances (species x size)
A vector of the resource abundance by size
A list with the abundances of other components
A list of rates as returned by mizerRates()
mizerRates()
The current time
Time step
Unused
Vector containing resource spectrum at next timestep
# NOT RUN { params <- newMultispeciesParams(NS_species_params_gears, inter, resource_dynamics = "resource_constant") # }
Run the code above in your browser using DataLab