degree.hist function

Histogram of the degree distribution of a network

Histogram of the degree distribution of a network

Plot the histogram of all degrees of a network.

degree.hist(g, breaks = 100)

Arguments

  • g: The input network.
  • breaks: A single number giving the number of cells for the histogram.

Returns

A .gif plot.

Details

Plot the histogram of all degrees of a network.

Examples

## Not run: x <- net.erdos.renyi.gnp(1000, 0.05) degree.hist(x) ## End(Not run)

Author(s)

Xu Dong

  • Maintainer: Nazrul Shaikh
  • License: GPL (>= 2)
  • Last published: 2020-12-01

Useful links