R/plankton_dynamics.R
plankton_semichemostat.RdProject plankton using semichemostat model
plankton_semichemostat(params, n, n_pp, n_other, rates, t, dt, ...)
| params | A MizerParams object |
|---|---|
| n | A matrix of species abundances (species x size) |
| n_pp | A vector of the plankton abundance by size |
| n_other | A list with the abundances of other components |
| rates | A list of rates as returned by |
| t | The current time |
| dt | Time step |
| ... | Unused |
Vector containing plankton spectrum at next timestep
if (FALSE) { data(NS_species_params_gears) data(inter) params <- newMultispeciesParams(NS_species_params_gears, inter, plankton_dynamics = "plankton_semichemostat") }