View source: R/rand_bounded_deg_graph.R
This function uses the rand_bounded_deg_graph_aux() to generate a random undirected graph for a given maximum degree. The maximum degree may not be reached. This function uses try() to catch error when there is no consistent graph for a sampled degree sequence. There is always an output from this function.
1 | rand_bounded_deg_graph(n, delta)
|
n |
The number of nodes in the graph. |
delta |
The maximum degree in the graph. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.