Skip to contents

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

Usage

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

Value

A vector with the initial number densities for the resource spectrum

Examples

# Doubling resource abundance in the initial state of the North Sea model
params <- NS_params
initialNResource(params) <- 2 * initialNResource(params)
#>  No `a` column so using a = 0.01 in w = a l^b, with w in g and l in cm.
#>  No `b` column so using the isometric default b = 3 in w = a l^b.