getNumEdges {bingat} | R Documentation |
Get the Number of Edges in a Graph
Description
This function will return the number of edges for a given of graph.
Usage
getNumEdges(nodes, type)
Arguments
nodes |
The number of individual nodes in a given graph. |
type |
The type of graph being used (adjmatrix or adjmatrixlt). |
Value
The number of edges between individual nodes in the given graph.
Author(s)
Terrence Brooks, Berkley Shands, Skye Buckner-Petty, Patricio S. La Rosa, Elena Deych, William D. Shannon
Examples
data(braingraphs)
brainnodes <- getNumNodes(braingraphs, "adjMatrix")
brainedges <- getNumEdges(brainnodes, "adjMatrix")
brainedges
[Package bingat version 1.3 Index]