validate.cm {LoopAnalyst} | R Documentation |
Validates a community matrix, returning descriptive errors if validation fails and a value of TRUE otherwise.
validate.cm(CM)
CM |
A potential community matrix to be tested. |
A community matrix is deemed valid if it is a square matrix, with no missing values, where each element has the value -1, 0 or 1, and each element has at least one parent and one child variable.
TRUE.
Alexis Dinno http://www.doyenne.com/LoopAnalyst/
Puccia, C. J. and Levins, R. (1986) Qualitative Modeling of Complex Systems: An Introduction to Loop Analysis and Time Averaging. Cambridge: Harvard University Press.
## assess community matrix data(cm.levins) validate.cm(cm.levins)