Histogram of the degree distribution of a network
Plot the histogram of all degrees of a network.
degree.hist(g, breaks = 100)
g
: The input network.breaks
: A single number giving the number of cells for the histogram.A .gif plot.
Plot the histogram of all degrees of a network.
## Not run: x <- net.erdos.renyi.gnp(1000, 0.05) degree.hist(x) ## End(Not run)
Xu Dong
Useful links