getDiagonal | R Documentation |
This function finds diagonal values to be used in the Jacobian matrix based on flux values.
getDiagonal(MR, dead_names = NULL, BM = NULL, FM = NULL, AE = NULL)
MR |
(required) A named numeric vector with non-predatory mortality rates for all
compartments (per unit time, t-1).
If not provided, the input of |
dead_names |
(optional) Character vector with all names of detritus and nutrient compartments. |
BM |
(required when |
FM |
(required if |
AE |
(required if |
Diagonal values for species are equal to their natural death rate (unit t-1).
Natural death rates can be provided directly as MR
,
or assumed to be non-predatory mortality calculated from consumption rates and
physiological parameters.
Diagonal values for dead (detritus) compartments are based on the total amount
of assimilated detritus in all consumers of detritus and the biomass of the detritus
compartments. This function implements the equations from from Neutel & Thorne (2014).
The input should be named according to the food web compartment names.
It is important to review the units of the input data.
This function returns a named numeric vector with diagonal values for the species in the food web (per unit time, t-1).
Neutel, A.M., Thorne, M.A.S., 2014. Interaction strengths in balanced carbon cycles and the absence of a relation between ecosystem complexity and stability. Ecol. Lett. 17, 651–661. https://doi.org/10.1111/ele.12266
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.