Description Usage Arguments Details Value Examples
erdos_list
creates an adjacency list representation of an
undirected Erdos-Renyi random graph.
1 | erdos_list(N, avk)
|
N |
Number of vertices / nodes in the network. |
avk |
desired average degree of the network |
This functon generates an undirected random graph of size N
, each node
having average degree avk
. Self and repeated edges are not permitted
so if avk > (N - 1)
a fully connected network will always be returned.
adjacency list representation of the resultant network
1 | gr <- erdos_list(1000,10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.