Description Usage Arguments Details Value Author(s) References See Also Examples
Generate an undirected graph with adjustable clustering coefficient
1 | graphGenerator(n, d, o)
|
n |
no. of nodes in the generated graph |
d |
parameter for preferential attachment |
o |
parameter for triple generation |
The graph generator works according to the prefential attachment rule. It also generates graphs with adjustable clustering coefficient. Parameter d
specifies how many preferred edges a new node has. Parameter o
limits how many triples to add to a new node.
See reference for details.
no. of nodes |
No. of nodes in the generated graph |
no. of edges |
No. of edges in the generated graph |
edges |
Edges in the generated graph |
Li Long <li.long@isb-sib.ch>
Approximating Clustering Coefficient and Transitivity, T. Schank, D. Wagner, Journal of Graph Algorithms and Applications, Vol. 9, No. 2 (2005).
clusteringCoef, transitivity, clusteringCoefAppr
1 2 3 4 | n <- 20
d <- 6
o <- 3
gg <- graphGenerator(n, d, o)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.