Skip to contents

Values used as starting values for simulations with project().

Usage

initialN(params) <- value

initialN(object)

Arguments

params

A MizerParams object

value

A matrix with dimensions species x size holding the initial number densities for the fish spectra.

object

An object of class MizerParams or MizerSim

Value

An ArraySpeciesBySize object with dimensions species x size holding the initial number densities for the fish spectra.

Examples

# Doubling abundance of Cod in the initial state of the North Sea model
params <- NS_params
initialN(params)["Cod", ] <- 2 * initialN(params)["Cod", ]