powered by
This function will return the number of edges for a given of graph.
getNumEdges(nodes, type)
The number of individual nodes in a given graph.
The type of graph being used (adjmatrix or adjmatrixlt).
The number of edges between individual nodes in the given graph.
data(braingraphs) brainnodes <- getNumNodes(braingraphs, "adjMatrix") brainedges <- getNumEdges(brainnodes, "adjMatrix") brainedges
Run the code above in your browser using DataLab