getLoopWeight: Get loop weight.

View source: R/evaluate_characteristics.R

getLoopWeightR Documentation

Get loop weight.

Description

This function calculates the loop weight.

Usage

getLoopWeight(IS, d = NULL)

Arguments

IS

(required) Numeric vector of length k with all interaction strengths from a loop.

d

(optional) Numeric vector of length k with natural death rates of all compartments included in the loop with the same unit as IS.

Details

Loop weight is defined as the geometric mean of all absolute interaction strengths in a loop of length k. It combines information on the feedback of the loop with natural death rates and the length of the loop. The feedback is scaled by the natural death rates as in Neutel et al. 2007, because the stability measure is also scaled by death rates. Depending on your stability measure you can decide to omit inclusion of death rates.

Value

Returns a double.

References

  • Neutel, A.M., Heesterbeek, J.A.P., Van De Koppel, J., Hoenderboom, G., Vos, A., Kaldeway, C., Berendse, F., De Ruiter, P.C., 2007. Reconciling complexity with stability in naturally assembling food webs. Nature 449, 599–602. https://doi.org/10.1038/nature06154


dswdejonge/fwstability documentation built on Dec. 7, 2022, 7:24 p.m.