graph.cm: Graph a Community Matrix

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

Description

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

Usage

1
graph.cm(CM, file, color="bw")

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).

color

select which color mode to graph the system: bw, color, or greyscale. Default bw is black and white.

Details

This function outputs a dot file for use with graphviz or similar graph layout package to visually represent the community matrix system. The color options color and greyscale assist in graph readability when there are a large number of nodes and connections between them.

Author(s)

Alexis Dinno http://www.doyenne.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.

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

See Also

make.cm.

Examples

1
2
3
4
5
6
7
## graph a community matrix
data(cm.levins)
graph.cm(cm.levins, file="levins.dot")

## graph a community matrix
data(cm.dambacher)
graph.cm(cm.dambacher, file="dambacher.dot", color="color")


Search within the LoopAnalyst package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.