# Generate a list of adjacency matrices
## Sub-network sizes
N <- c(250, 370, 120)
## Probability distributions
dnetwork <- lapply(N, function(x) matrix(runif(x^2), x))
## Generate networks
G <- simnetwork(dnetwork)
Run the code above in your browser using DataLab