# Generate a list of adjacency matrices
## sub-network size
N <- c(250, 370, 120)
## distribution
dnetwork <- lapply(N, function(x) matrix(runif(x^2), x))
## network
G <- sim.network(dnetwork)
Run the code above in your browser using DataLab