compare_clustering_to_er: Check if a given network is strongly clustered

Description Usage Arguments Value Author(s) Examples

Description

Compares the clustering of a given network with that of epochs ER graphs with the same number of nodes and edges.

Usage

1
compare_clustering_to_er(network, epochs = 100, label = "Given network")

Arguments

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.

Value

A ggplot object comparing the clustering coefficient of the given network with the average of epochs ER graphs.

Author(s)

Gregorio Alanis-Lobato galanisl@uni-mainz.de

Examples

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")

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