Description Usage Arguments Value Author(s) Examples
This function will return the number of edges for a given of graph.
1 | getNumEdges(nodes, type)
|
nodes |
The number of individual nodes in a given graph. |
type |
The type of graph being used (adjmatrix or adjmatrixlt). |
The number of edges between individual nodes in the given graph.
Terrence Brooks, Berkley Shands, Skye Buckner-Petty, Patricio S. La Rosa, Elena Deych, William D. Shannon
1 2 3 4 5 6 |
data(braingraphs)
brainnodes <- getNumNodes(braingraphs, "adjMatrix")
brainedges <- getNumEdges(brainnodes, "adjMatrix")
brainedges
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.