make.cm {LoopAnalyst} | R Documentation |
Interactively Make a Community Matrix
Description
Make and validate a new community matrix by soliciting the number of varibles, variable names and interactions between each.
Usage
make.cm(n)
Arguments
n |
an integer value denoting the number of component variables modeled by the community matrix. The minimum number of variables is 2. If left unspecified, make.cm will prompt for the number of variables. |
Details
make.cm prompts the user for the number of variables (if not specified as an option), variable names, and the qualitative signifier (-1, 0, or 1) of direct causal effect from and to each variable.
Value
a labeled (-1,0,1) square matrix.
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
## assign a community matrix
## Not run: CM <- make.cm(4)