Learn R Programming

LoopAnalyst (version 1.0-4)

make.cm: Interactively Make a Community Matrix

Description

Make and validate a new community matrix by soliciting the number of parameters, parameter names and interactions between each.

Usage

make.cm(n)

Arguments

n
an integer value denoting the number of parameters modeled by the community matrix. The minimum number of parameters is 2. If left unspecified, make.cm will prompt for the number of parameters.

Value

  • a labeled (-1,0,1) square matrix.

Details

make.cm prompts the user for the number of parameters (if not specified as an option), parameter names, and the qualitative signifier (-1, 0, or 1) of direct causal effect from and to each parameter.

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.

See Also

out.cm, graph.cm, make.cem.

Examples

Run this code
## assign a community matrix
CM <- make.cm(4)

Run the code above in your browser using DataLab