Grow regular lattice networks, in which every node is connected to m neighbors.
grow_lattice(n = 100L, k = 10L)
Integer. Number of nodes in the network.
Integer. Number of edges added for each incoming node. Can only be even.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.