enumerate.loops {LoopAnalyst}R 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 http://www.doyenne.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.

See Also

make.cm.

Examples

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

[Package LoopAnalyst version 1.2-1.1 Index]