Description Usage Arguments Value Author(s) Examples
Plots the degree distribution of a network in log-log scale.
1 | plot_degree_distr(network, bins = 100)
|
network |
igraph; The network whose degree distribution is to be plotted. |
bins |
integer; The number of bins. |
A ggplot of the network's degree distribution.
Gregorio Alanis-Lobato galanisl@uni-mainz.de
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.