Description Usage Arguments Value References Examples
Grow networks using Watts & Strogatz (1999) growth model, which constructs
in-between regular lattices and random networks by re-wiring edges of a
regular lattice with probability p
.
1 | grow_ws(n = 100L, k = 10L, p = 0.2)
|
n |
Integer. Number of nodes in the network. |
k |
Integer. Number of edges added for each incoming node. Can only be even. |
p |
Numeric. Proability that an edge e_ij is rewired to e_ik with k being randomly drawn from the set of nodes. |
n x n adjacency matrix.
Watts, D. J., & Strogatz, S. H. (1998). Collective dynamics of ‘small-world’ networks. Nature, 393(6684), 440-442.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.