Seasonal encounter rate including gonadic mass of prey via S3 dispatch
Source:R/seasonal.R
projectEncounter.mizerSeasonal.RdMethod for projectEncounter() that adds the extra encounter arising from
the gonadic mass carried by prey fish. It first calls NextMethod() to
obtain the standard encounter (using somatic mass only), then appends the
contribution from the gonadic mass of prey fish. This is only done when
include_gonads = TRUE was passed to setSeasonalReproduction().
Arguments
- params
A MizerParams object of class
mizerSeasonal.- n
A matrix of species abundances (species x size).
- n_pp
A vector of the resource abundance by size.
- n_other
A list of other model components, including
gonads.- t
The current time. Unused.
- ...
Passed to
NextMethod().