net.random.plc: Random Network with a Power-law Degree Distribution that Has...

Description Usage Arguments Details Value Author(s) References Examples

Description

Simulate a random network with a power-law degree distribution that has an exponential cutoff, according to Newman et al. (2001).

Usage

1
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

1
2
3
## Not run: 
x <- net.random.plc(1000, 10, 2)
## End(Not run)

networkgroupR/fastnet documentation built on May 23, 2019, 1:32 p.m.