net.random.plc {fastnet} | R Documentation |
Random Network with a Power-law Degree Distribution that Has An Exponential Cutoff
Description
Simulate a random network with a power-law degree distribution that has an exponential cutoff, according to Newman et al. (2001).
Usage
net.random.plc(n, cutoff, exponent)
Arguments
n |
The number of the nodes in the network. |
cutoff |
Exponential cutoff of the degree distribution of the network. |
exponent |
Exponent of the degree distribution of the network. |
Details
The generated random network has a power-law degree distribution with an exponential degree cutoff.
Value
A list containing the nodes of the network and their respective neighbors.
Author(s)
Xu Dong, Nazrul Shaikh
References
Newman, Mark EJ, Steven H. Strogatz, and Duncan J. Watts. "Random graphs with arbitrary degree distributions and their applications." Physical review E 64, no. 2 (2001): 026118.
Examples
## Not run:
x <- net.random.plc(1000, 10, 2)
## End(Not run)
[Package fastnet version 1.0.0 Index]