metric.degree.mean {fastnet} | R Documentation |
Mean Degree
Description
Calculate the mean degree of a graph.
Usage
metric.degree.mean(g)
Arguments
g |
The input network. |
Details
The mean degree is the average value of the degrees of all nodes in graph g.
Value
A real constant.
Author(s)
Xu Dong, Nazrul Shaikh.
Examples
## Not run:
x <- net.erdos.renyi.gnp(1000, 0.01)
metric.degree.mean(x)
## End(Not run)
[Package fastnet version 1.0.0 Index]