50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

LoopAnalyst (version 1.1-1)

enumerate.loops: 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.

Value

  • A list of loops.

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.

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.

See Also

make.cm.

Examples

Run this code
## assess community matrix
data(submatrix)
enumerate.loops(submatrix)

Run the code above in your browser using DataLab