Learn R Programming

LoopAnalyst (version 1.0-4)

graph.cm: Graph a Community Matrix

Description

Represents a community matrix as a signed digraph in the dot language.

Usage

graph.cm(CM, file)

Arguments

CM
A community matrix to be graphed.
file
a connection or a character string giving the name of the dot file (should have a .dot suffix).

Details

This function outputs a dot file for use with graphviz or similar graph layout package to visually represent the community matrix system.

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.

Gansner, E., Koutsofios, E. and North, S. (2002) Drawing graphs with dot. http://www.graphviz.org

See Also

make.cm.

Examples

Run this code
## graph a community matrix
data(community.matrix)
graph.cm(community.matrix, file="community.matrix.dot")

Run the code above in your browser using DataLab