
Generate random signed graphs according to the G(n,p) Erdos-Renyi model
Source:R/random_graphs.R
sample_gnp_signed.Rd
Generate random signed graphs according to the G(n,p) Erdos-Renyi model
Arguments
- n
The number of vertices in the graph.
- p
The probability for drawing an edge between two arbitrary vertices.
- p_neg
The probability of a drawn edge to be a negative tie
- directed
logical, whether the graph will be directed. defaults to FALSE.
- loops
logical, whether to add loop edges, defaults to FALSE.