Generate a (non-random) network from a Yule Distribution

Description

Generate a network with a given number of actors having a degree distribution draw from a Yule distribution. The resultant network is not random - that is, is not a random draw from all such networks.

Usage

1
ryule(n=20,rho=2.5, maxdeg=n-1, maxit=10, verbose=FALSE)

Arguments

n

Number of actors in the network.

rho

PDF exponent of the Yule distribution.

maxdeg

Maximum degree to sample (using truncation of the distribution). If this is greater then n-1 then n-1 is used.

maxit

integer; maximum number of resamplings of the degree sequence to find a valid network.

verbose

Print out details of the progress of the algorithm.

Value

If the network package is available, the network is returned as a network object. If not a sociomatrix is returned.

Note

See the working papers on http://www.csss.washington.edu/Papers for details

References

Jones, J. H. and Handcock, M. S. "An assessment of preferential attachment as a mechanism for human sexual network formation," Proceedings of the Royal Society, B, 2003, 270, 1123-1128.

See Also

ayulemle, dyule, reedmolloy

Examples

1
2
3
# Now, simulate a Yule network of 30
# actors with rho=4.0
ryule(n=30, rho=4)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.