net.rewired.caveman {fastnet} | R Documentation |
Rewired (Connected) Caveman Network
Description
Simulate a rewired caveman network of m cliques of size k, and with a link rewiring probability p.
Usage
net.rewired.caveman(nc, m, p, seed = 99)
Arguments
nc |
Number of cliques (or caves) in the network. |
m |
Number of nodes per clique. |
p |
Link rewiring probability. |
seed |
A random seed. |
Details
The rewired caveman network is built on the corresponding regular caveman network with m cliques of size k. Then the links in this caveman network are rewired with probability p.
Value
A list containing the nodes of the network and their respective neighbors.
Author(s)
Xu Dong, Nazrul Shaikh
References
Watts, D. J. Networks, Dynamics, and the Small-World Phenomenon. Amer. J. Soc. 105, 493-527, 1999.
Examples
## Not run:
x <- net.rewired.caveman(50, 20, 0.0005)
## End(Not run)
[Package fastnet version 1.0.0 Index]