enumerate.loops: Enumerates all Loops in a (-1, 0, 1) Matrix

View source: R/enumerate.loops.R

enumerate.loopsR Documentation

Enumerates all Loops in a (-1, 0, 1) Matrix

Description

Enumerates a list of all loops in a (-1, 0, 1) matrix.

Usage

enumerate.loops(CM)

Arguments

CM

A (-1, 0 1) matrix.

Details

The returned list of loops contains each loop in CM in breadth-first search order). Each element in a loop is represented by its variable number, and the first element also terminates each loop.

Value

A list of loops.

Author(s)

Alexis Dinno (alexis.dinno@pdx.edu)

Please contact me with any questions, bug reports or suggestions for improvement. Fixing bugs will be facilitated by sending along:

[1] a copy of your relevant R data file (de-labeled or anonymized is fine),
[2] a copy of the command syntax used, and
[3] a copy of the exact output of the command.

https://alexisdinno.com/LoopAnalyst/

References

Puccia, C. J. and Levins, R. (1986) Qualitative Modeling of Complex Systems: An Introduction to Loop Analysis and Time Averaging. Cambridge: Harvard University Press. <\Sexpr[results=rd]{tools:::Rd_expr_doi("10.4159/harvard.9780674435070")}>.

See Also

make.cm.

Examples

## assess community matrix
data(submatrix)
enumerate.loops(submatrix)

LoopAnalyst documentation built on June 22, 2024, 11:59 a.m.