Description Usage Arguments Value Examples
This function allows you to get the adjacency matrix from a graph object.
1 | getSparseMat(graph)
|
graph |
The graph from which to obtain the matrix |
A matrix of sparse format from package Matrix with entries corresponding to the edge list of the given graph
1 | M = getSparseMat(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.