ryule {degreenet}R Documentation

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

ryule(n=20,rho=2.5,cutoff=1,cutabove=1000,
                  greedy=FALSE,
                  maxdeg=10000,maxout=TRUE,verbose=FALSE)

Arguments

n

Number of actors in the network.

rho

PDF exponent of the Yule distribution.

cutoff

Calculate estimates conditional on exceeding this value.

cutabove

Calculate estimates conditional on not exceeding this value.

greedy

Use a greedy algorithm that may perform better for larger networks, and may perform worse.

maxdeg

The maximum degree to simulate. The probabilities of the degrees are chosen by truncation.

maxout

Ensure the maximum degree of any actor is feasible - that is, at most the number of available actors.

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

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

[Package degreenet version 1.2 Index]