Get energy rate available for growth needed to project standard mizer model
Source:R/project_methods.R
mizerEGrowth.Rd
Calculates the energy rate \(g_i(w)\) (grams/year) available by species and
size for growth after metabolism, movement and reproduction have been
accounted for. Used by project()
for performing simulations.
You would not usually call this
function directly but instead use getEGrowth()
, which then calls this
function unless an alternative function has been registered, see below.
Arguments
- params
A MizerParams object
- n
A matrix of species abundances (species x size).
- n_pp
A vector of the resource abundance by size
- n_other
A list of abundances for other dynamical components of the ecosystem
- t
The time for which to do the calculation (Not used by standard mizer rate functions but useful for extensions with time-dependent parameters.)
- e_repro
The energy available for reproduction as calculated by
getERepro()
.- e
The energy available for reproduction and growth as calculated by
getEReproAndGrowth()
.- ...
Unused
Your own growth rate function
By default getEGrowth()
calls mizerEGrowth()
. However you can
replace this with your own alternative growth rate function. If
your function is called "myEGrowth"
then you register it in a MizerParams
object params
with
Your function will then be called instead of mizerEGrowth()
, with the
same arguments.
See also
Other mizer rate functions:
mizerERepro()
,
mizerEReproAndGrowth()
,
mizerEncounter()
,
mizerFMort()
,
mizerFMortGear()
,
mizerFeedingLevel()
,
mizerMort()
,
mizerPredMort()
,
mizerPredRate()
,
mizerRDI()
,
mizerRates()
,
mizerResourceMort()