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