powered by
Create a number of Erdos-Renyi random graphs with identical parameters, and connect them with the specified number of negative ties.
sample_islands_signed(islands.n, islands.size, islands.pin, n.inter)
The number of islands in the graph.
The size of the islands in the graph.
The probability of intra-island edges.
number of negative edges between two islands.
a signed igraph graph
# NOT RUN { library(igraph) sample_islands_signed(3, 10, 0.5, 1) # }
Run the code above in your browser using DataLab