Generate directed Erdos-Renyi random networks with at least 1 basal node and only one component
Source:R/models.r
generate_er_basal.RdThis uses the igraph's function sample_gnm to generate nsim random networks with the same number of nodes and links than the parameter ig and two restrictions: