Fills in any missing values for f0 so that if the prey abundance was
described by the power law \(\kappa w^{-\lambda}\) then the encounter rate
coming from the given gamma parameter would lead to the feeding level
\(f_0\). This is thus doing the inverse of get_gamma_default().
Only for internal use.
get_f0_default(params)A vector with the values of f0 for all species
A MizerParams object
For species for which no value for gamma is specified in the species
parameter data frame, the f0 values is kept as provided in the species
parameter data frame or it is set to 0.6 if it is not provided.
See the Target Feeding Level section of the "Calculation of Default Parameter Values" vignette for the mathematical derivation.
The available energy is measured with the predation part of mizer's own
encounter rate, mizerEncounter(). It is a property of the species
parameters and of the resource power law rather than of the model's dynamics,
so external encounter and contributions registered with other_encounter()
(including component encounter functions) are excluded. The measurement also
deliberately does not go through the extension dispatch chain, nor through an
encounter function registered with setRateFunction().
Other functions calculating defaults:
get_gamma_default(),
get_h_default(),
get_ks_default()