powered by
Generate a random graph based on the given dimension size and average indegree
randomGraph(dim, indegree, maxite = 10000)
The dimension of the random graph
The average indegree of random graph for each nodes
The maximum iterations to find the random graph
Return a random graph
# NOT RUN { randomGraph(dim=10,indegree=1) # }
Run the code above in your browser using DataLab