initialNResource-set: Initial value for resource spectrum

initialNResource<-R Documentation

Initial value for resource spectrum

Description

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

See Also

initialN(), initialNOther()

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)

mizer documentation built on Oct. 17, 2024, 9:07 a.m.