Validates a community matrix, returning descriptive errors if validation fails and a value of TRUE otherwise.
Usage
validate.cm(CM)
Arguments
CM
A potential community matrix to be tested.
Value
TRUE.
Details
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.
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.