getEGrowth-methods: getEGrowth method for the size based model

Description Arguments Value See Also Examples

Description

Calculates the energy available by species and size for growth after metabolism and movement have been accounted for. Used by the project method for performing simulations.

Arguments

object

A MizerParams object.

n

A matrix of species abundance (species x size).

n_pp

A vector of the background abundance by size.

e

The energy available for reproduction and growth (optional, although if specified, e_spawning must also be specified). A matrix of size no. species x no. size bins. If not supplied, is calculated internally using the getEReproAndGrowth() method.

e_spawning

The energy available for spawning (optional, although if specified, e must also be specified). A matrix of size no. species x no. size bins. If not supplied, is calculated internally using the getESpawning() method.

Value

A two dimensional array (prey species x prey size)

See Also

project

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
data(NS_species_params_gears)
data(inter)
params <- MizerParams(NS_species_params_gears, inter)
# Project with constant fishing effort for all gears for 20 time steps
sim <- project(params, t_max = 20, effort = 0.5)
# Get the energy at a particular time step
getEGrowth(params,sim@n[21,,],sim@n_pp[21,])

## End(Not run)


Search within the mizer package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.