Learn R Programming

sna (version 2.8)

read.dot: Read Graphviz DOT Files

Description

Reads network information in Graphviz's DOT format, returning an adjacency matrix.

Usage

read.dot(...)

Value

The imported graph, in adjacency matrix form.

Arguments

...

The name of the file whence to import the data, or else a connection object (suitable for processing by readLines.

Author

Matthijs den Besten matthijs.denbesten@gmail.com

Details

The Graphviz project's DOT language is a simple but flexible tool for describing graphs. See the included reference for details.

References

Graphviz Project. "The DOT Language." http://www.graphviz.org/doc/info/lang.html

See Also

read.nos, write.nos, write.dl