Learn R Programming

mizer (version 2.3.0)

resource_constant: Keep resource abundance constant

Description

This function can be used instead of the standard resource_semichemostat() in order to keep the resource spectrum 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

Value

Vector containing resource spectrum at next timestep

Examples

Run this code
# NOT RUN {
params <- newMultispeciesParams(NS_species_params_gears, NS_interaction,
                                resource_dynamics = "resource_constant")
# }

Run the code above in your browser using DataLab