Graph Density
Calculate the density of a graph.
metric.graph.density(g)
g
: The input network.A real constant.
Computes the ratio of the number of edges and the number of possible edges.
## Not run: x <- net.erdos.renyi.gnp(1000, 0.01) metric.graph.density(x) ## End(Not run)
Xu Dong, Nazrul Shaikh.
Useful links