Value used as starting value for simulations with project().

initialNResource(params) <- value

initialNResource(object)

Arguments

params

A MizerParams object

value

A vector with the initial number densities for the resource spectrum

object

An object of class MizerParams or MizerSim

Examples

# Doubling resource abundance in the initial state of the North Sea model params <- NS_params initialNResource(params) <- 2 * initialNResource(params) # Of course this initial state will no longer be a steady state params <- steady(params)
#> Convergence was achieved in 16.5 years.
#> Warning: The following species require an unrealistic reproductive efficiency greater than 1: Sprat, Sandeel, N.pout, Herring, Dab, Whiting, Sole, Gurnard, Plaice, Haddock