Description Usage Arguments Details Value Author(s) References Examples
Simulate a (connected) caveman network of m cliques of size k.
1 | net.caveman(m, k, ncores = detectCores())
|
m |
Number of cliques (or caves) in the network. |
k |
Number of nodes per clique. |
ncores |
Number of cores, by default |
The (connected) caveman network is formed by connecting a set of isolated k - cliques (or "caves"), neighbor by neighbor and head to toe, using one edge that removed from each clique such that all m cliques form a single circle (Watts 1999). The total number of nodes, i.e. n, in this network is given by k*m.
A list containing the nodes of the network and their respective neighbors.
Xu Dong, Nazrul Shaikh.
Watts, D. J. Networks, Dynamics, and the Small-World Phenomenon. Amer. J. Soc. 105, 493-527, 1999.
1 2 3 | ## Not run:
x <- net.caveman(50, 20) #using ncores by default
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.