Description Usage Arguments Value Examples
Function to generate a Watts-Strogats network
1 | WattsStrogatz(N, K, Prw)
|
N |
the number of nodes |
K |
the number of neighbors to which each node is connected so degree = 2*K |
Prw |
the rewiring probability |
An object of class CM (contact matrix)
1 | cm2=WattsStrogatz(N=20, K=4, Prw=.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.