plot_degree_distr: Plots the degree distribution of a network in log-log scale.

Description Usage Arguments Value Author(s) Examples

Description

Plots the degree distribution of a network in log-log scale.

Usage

1
plot_degree_distr(network, bins = 100)

Arguments

network

igraph; The network whose degree distribution is to be plotted.

bins

integer; The number of bins.

Value

A ggplot of the network's degree distribution.

Author(s)

Gregorio Alanis-Lobato galanisl@uni-mainz.de

Examples

1
2
3
4
# Generate an artificial network with the PS model
net <- ps_model(500, 6, 2.5, 0)
# Plot its degree distribution
plot_degree_distr(net$network, bins = 50)

galanisl/NetHypGeom documentation built on May 16, 2019, 5:36 p.m.