Description Usage Arguments Details Value Author(s) See Also
Retrieve or set the adjacency matrix representation of a graph.
1 2 | adjacencyMatrix(object, ...)
adjacencyMatrix(x, force = TRUE) <- value
|
object |
a graph object from which the representation should be retrieved |
... |
additional parameters to be used when retrieving the representation |
x |
a graph object in which the representation should be set |
force |
a logical value telling whether the representation should be set even if this amounts to changing the graph |
value |
an object of class |
The functions adjacencyMatrix
and adjacencyMatrix<-
are generic.
The function adjacencyMatrix
returns an object of class "adjacencyMatrix"
containing the adjacency matrix representation to be retrieved. The function adjacencyMatrix<-
returns a graph object in which the adjacency matrix representation has been set.
Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca
adjacencyMatrix-class
and simpleGraph-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.