enumerate.paths {LoopAnalyst} | R Documentation |
Enumerates all Paths from i to j in a Community Matrix
Description
Enumerates a list of all paths from variable i to variable j in a community matrix after first validating that CM
is a community matrix.
Usage
enumerate.paths(CM,i,j)
Arguments
CM |
A community matrix. |
i , j |
variables in the community matrix |
Details
The returned list of paths contains each path from i to j in CM
in breadth-first search order). Each element in a path is represented by its variable number.
Value
A list of paths.
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. <doi:10.4159/harvard.9780674435070>.
See Also
Examples
## assess community matrix
data(cm.levins)
enumerate.paths(cm.levins,2,4)