stability.value: Estimates network stability

Description Usage Arguments Details Value Author(s) Examples

Description

Computes resilience of the system through Jacobian matrix eigenvalues.

Usage

1
2
3
stability.value(val.mat, biomasses, losses, efficiencies, growth.rate,
  bioms.prefs = TRUE, bioms.losses = TRUE, ef.level = "prey",
  full.output = FALSE)

Arguments

val.mat

A matrix describing fluxes between species (usually a result of fluxing function).

biomasses

A vector of species biomasses.

losses

A vector or an array of species energy losses (excluding predation).

efficiencies

A vector or an array of conversion efficiencies of species in the adjacency matrix. These values describe the proportion of consumed energy that is converted to biomass of the consumer.

growth.rate

A vector defining growth rate of basal species.

bioms.prefs

Logical, if TRUE (default) preferences are scaled according to species biomasses.

bioms.losses

Logical, if TRUE (default) losses are scaled with biomass.

ef.level

Set to "prey" if efficiencies are defined by prey, "pred" if they are a property of the predator.

full.output

Logical, if TRUE function return supplementary informations.

Details

Value

Maximum eigenvalue of the Jacobian matrix of a Lotka Voltera like system of equations. If full.output, Jacobian eigenvalues and eigenvectors are returned.

Author(s)

Benoit Gauzens, benoit.gauzens@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
losses = 0.15 * groups.level$bodymasses^(-0.25)

# growth rates of basal sppecies
growth.rates = rep(NA, dim(groups.level$mat)[1])
growth.rates[colSums(groups.level$mat) == 0] = 0.5

val.mat = fluxing(groups.level$mat, 
                  groups.level$biomasses, 
                  losses, 
                  groups.level$efficiencies, 
                  bioms.pref = TRUE, 
                  ef.level = "pred")
                  
stability.value(val.mat, 
                groups.level$biomasses, 
                losses, 
                groups.level$efficiencies, 
                growth.rates, 
                ef.level = "pred")

fluxweb documentation built on May 2, 2019, 6:49 a.m.