Description Usage Arguments Value Author(s) References Examples
View source: R/globalClusteringCoeff.R
This method calculates the Global Clustering Coefficient.
1 | globalClusteringCoeff(g, loc = NULL)
|
g |
a graph as a graphNEL object. |
loc |
the the local clustering coefficient. |
This method returns the global clustering coefficient.
Laurin Mueller
D. Watts, Small Worlds: The Dynamics of Networks Between Order and Randomness. Princeton Univ Pr, 2003. D. Watts and S. Strogatz, Collective dynamics of 'Small-World' Networks, Nature, vol. 393, no. 6684, pp. 440-442, 1998.
1 2 3 4 5 6 7 | library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)
loccc <- localClusteringCoeff(g)
globalClusteringCoeff(g)
globalClusteringCoeff(g,loc=loccc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.