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