Description Usage Arguments Details Value Author(s) References Examples
View source: R/net.random.plc.R
Simulate a random network with a power-law degree distribution that has an exponential cutoff, according to Newman et al. (2001).
1 | net.random.plc(n, cutoff, exponent)
|
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. |
The generated random network has a power-law degree distribution with an exponential degree cutoff.
A list containing the nodes of the network and their respective neighbors.
Xu Dong, Nazrul Shaikh
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.
1 2 3 | ## Not run:
x <- net.random.plc(1000, 10, 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.