Description Usage Arguments Value Author(s) See Also Examples
View source: R/edgefunctions.R
aveNumEdges divides the number of edges in the graph by the number of nodes to give the average number of edges.
1 | aveNumEdges(objgraph)
|
objgraph |
the graph object |
A double representing the average number of edges will be returned.
Elizabeth Whalen
numEdges
, mostEdges
,
numNoEdges
1 2 3 | set.seed(124)
g1 <- randomGraph(1:10, letters[7:12], p=.6)
aveNumEdges(g1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.