find_s_F: Find the relative amount of self-regulation needed to...

View source: R/find_s.R

find_s_FR Documentation

Find the relative amount of self-regulation needed to fullfill Levins I stability criterium

Description

Diagonal values are incrementally increases by a factor s until all total feedback values (calculated via the coefficients of the characteristic polynomial). This will not work, if the diagonal contains zeros. Replace missing values before calculating s*!

Usage

find_s_F(Jacobian, step_size = 0.01, max_s = 1000)

Arguments

Jacobian

A Jacobian matrix

step_size

Amount by which s is increases in each step

max_s

Maximum possible s value. If the matrix is still not stable, NA is returned


franzikoch/Feedbackloops documentation built on July 1, 2023, 12:42 p.m.