Learn R Programming

LoopAnalyst (version 1.2-7)

validate.cem: Validate a Community Effect Matrix

Description

Validates a community effect matrix, returning descriptive errors if validation fails and no value otherwise.

Usage

validate.cem(CEM)

Arguments

CEM

A potential community effect matrix to be tested.

Author

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/

Details

A community effect matrix is deemed valid if it is a square matrix, with no missing values, where each element has the value NA, -1, 0 or 1.

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. <tools:::Rd_expr_doi("10.4159/harvard.9780674435070")>.

See Also

make.cem.

Examples

Run this code
## assess community effect matrix
data(cm.levins)
make.cem(cm.levins) -> cem.levins
validate.cem(cem.levins)

Run the code above in your browser using DataLab