validate.cm: Validate a Community Matrix

View source: R/validate.cm.R

validate.cmR Documentation

Validate a Community Matrix

Description

Validates a community matrix, returning descriptive errors if validation fails and nothing otherwise.

Usage

validate.cm(CM)

Arguments

CM

A potential community matrix to be tested.

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, it is not a fully specified matrix, and there is at least one direct or indirect path from each element to each element.

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. <\Sexpr[results=rd]{tools:::Rd_expr_doi("10.4159/harvard.9780674435070")}>.

See Also

make.cm.

Examples

## assess community matrix
data(cm.levins)
validate.cm(cm.levins)

LoopAnalyst documentation built on June 22, 2024, 11:59 a.m.