make.cm: Interactively Make a Community Matrix

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/make.cm.R

Description

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

Usage

1

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 https://www.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.

See Also

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

Examples

1
2
## assign a community matrix
## Not run: CM <- make.cm(4)

LoopAnalyst documentation built on May 2, 2019, 5:14 a.m.