getAdjacencyMatrix {mixer} | R Documentation |
This generic function returns the adjacency matrix of a graph. Non-null elements denote that an edge exists between the nodes corresponding to the row and column index.
getAdjacencyMatrix(g, ...)
g |
An object of a suitable class. |
... |
Some methods for this generic function may take additional, optional arguments. At present none do. |
Returns a square-matrix where non-null elements denote the existence of edges in the graph.