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.
mizerEGrowth(params, n, n_pp, n_other, t, e_repro, e, ...)
A MizerParams object
A matrix of species abundances (species x size).
A vector of the resource abundance by size
A list of abundances for other dynamical components of the ecosystem
The time for which to do the calculation (Not used by standard mizer rate functions but useful for extensions with time-dependent parameters.)
The energy available for reproduction as calculated by
The energy available for reproduction and growth as calculated by
A two dimensional array (species x size) with the growth rates.
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
params <- setRateFunction(params, "EGrowth", "myEGrowth")
Your function will then be called instead of
mizerEGrowth(), with the