getEReproAndGrowth | R Documentation |
Calculates the energy available by species and size for reproduction and
growth after metabolism and movement have been accounted for. Used by the
project_therMizer
method for performing simulations.
getEReproAndGrowth
method with feeding_level
argument.
getEReproAndGrowth(object, n, n_pp, ocean_temp, feeding_level)
## S4 method for signature 'therMizerParams,matrix,numeric,numeric,matrix'
getEReproAndGrowth(object,
n, n_pp, ocean_temp, feeding_level)
object |
A |
n |
A matrix of species abundance (species x size). |
n_pp |
A vector of the background abundance by size. |
ocean_temp |
A numeric vector of the ocean temperature by realm or a single numeric ocean_temp value which is used for all realms. |
feeding_level |
The current feeding level (optional). A matrix of size
no. species x no. size bins. If not supplied, is calculated internally
using the |
A two dimensional array (species x size)
project_therMizer
and getFeedingLevel
.
## Not run:
data(NS_species_params_gears)
data(inter)
params <- therMizerParams(NS_species_params_gears, inter)
# Project with constant fishing effort for all gears for 20 time steps
sim <- project_therMizer(params, t_max = 20, effort = 0.5)
# Get the energy at a particular time step
getEReproAndGrowth(params,sim@n[21,,],sim@n_pp[21,])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.