Description Usage Arguments Value
This function returns a graph object stored as an adjacency matrix.
1 | adjMatrixGraph(nodes, weighted = FALSE, directed = FALSE)
|
nodes |
A vector of nodes |
weighted |
TRUE if the graph is weighted or FALSE. Defaults to FALSE. |
directed |
TRUE if graph is directed. Defaults to FALSE. |
A graph object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.