Create an network with the specified node degrees and clustering
Source:R/network.R
configmodel_clustered_network.Rd
Creates a network in which nodes have the degrees specified and numbers of triangles specified using an implementation of the algorithm by Serrano & Boguñá, 2005, Phys. Rev. E 72, 036133.
Arguments
- degrees
a vector of length \(N\) listing the degrees of all nodes
- beta
parameter that defines degree class probabilities \(P(k)\)
- alpha
set \(c(k)=0.5*(k-1)^\alpha\)
- ck
arbitrary function \(c(k)\) for the probability that if \(b\), \(c\) are neighbours of \(a\), then \(b\) and \(c\) are neighbours.
- triangles
number of triangles overlapping nodes of degree 0, 1, 2, ...,