Sample planted partition model (Piexoto 2014)
sample_ppm.Rd
Sampling from the planted partition model as in Piexoto 2014.
Arguments
- N
Number of vertices in the graph.
- c
A number between 0 and 1 controlling the
- k
The average degree of a vertex.
- B
The number of blocks.
- directed
Logical scalar, whether to generate a directed graph.
- loops
Logical scalar, whether self-loops are allowed in the graph.