Enable predator–prey interactions using an interaction matrix
Source:R/makeInteracting.R
makeInteracting.Rd
This function should be called with a non-interacting model (where there is only external mortality and external encounter) and an interaction matrix. The external encounter and mortality rates will then be decreased by the amount of the predation encounter and mortality that is created by that interaction matrix.
Details
If predation would exceed total mortality or encounter for a species, a warning is issued and negative values are truncated to zero. This can cause the resulting model to diverge from the steady state.
Typically used internally by matchDiet()