stability {soilfoodwebs}R Documentation

Calculates the stability of the food web

Description

Calculates the stability of the food web

Usage

stability(
  usin,
  correctstoich = TRUE,
  forceProd = FALSE,
  smin = 1,
  method = "Jacobian"
)

Arguments

usin

The community to calculate stability.

correctstoich

Boolean: Should stability be calculated after the stoichiometry is corrected with corrstoich?

forceProd

Boolean: Should production efficiency be the only way to correct stoichiometry?

smin

The value of smin in the Moorecobian.

method

One of two options: Jacobian or Moorecobian. The later uses the value of smin and adds density-dependence to the calculation at the strength of smin.

Value

Returns the Jacobian (or Moorecobian), eigenvalues, and the maximum eignvalue as a list.

See Also

calc_smin for the full use of the Moorecobian and stability2 for the estimation of stability using the functions from jacobian.full

Examples

# Basic stability calculation
stability(intro_comm)

[Package soilfoodwebs version 1.0.2 Index]