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, ...)

## Arguments

params 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 getERepro(). The energy available for reproduction and growth as calculated by getEReproAndGrowth(). Unused

## Value

A two dimensional array (species x size) with the growth rates.

## 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

params <- setRateFunction(params, "EGrowth", "myEGrowth")


Your function will then be called instead of mizerEGrowth(), with the same arguments.

Other mizer rate functions: mizerEReproAndGrowth(), mizerERepro(), mizerEncounter(), mizerFMortGear(), mizerFMort(), mizerFeedingLevel(), mizerMort(), mizerPredMort(), mizerPredRate(), mizerRDI(), mizerRates(), mizerResourceMort()