View source: R/Loops_functions_new.R
loops | R Documentation |
To do this, I simply assume that all possible loops of length n (all possible combinations of n-species) exist. Then, the function goes through all possible loops and calculates their strengths using loop_weights().
loops(n, A)
n |
loop length |
A |
a Jacobian matrix in which all loops of length should be identified |
If the loop weight is 0, at least one of the links is missing and the loop is removed from the list.
A dataframe containing the loops, their strengths and weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.