Description Usage Arguments Value Author(s) Examples
Compares the clustering of a given network with that of epochs
ER graphs with the same number of nodes and edges.
1 | compare_clustering_to_er(network, epochs = 100, label = "Given network")
|
network |
igraph; The network of interest. |
epochs |
integer; The number of ER graphs to consider in the comparison. |
label |
character; A label for the given network in the resulting plot. |
A ggplot object comparing the clustering coefficient of the given network with the average of epochs
ER graphs.
Gregorio Alanis-Lobato galanisl@uni-mainz.de
1 2 3 4 5 | # Generate an artificial network with the PS model
net <- ps_model(500, 6, 2.5, 0)
# Compare its clustering coefficient with ER networks
# with the same number of nodes and edges
compare_clustering_to_er(net$network, 100, "PS network")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.