localClusteringCoeff: Local Clustering Coefficient

Description Usage Arguments Value Author(s) References Examples

Description

This method calculates the Local Clustering Coefficient.

Usage

1

Arguments

g

a graph as a graphNEL object.

deg

the degree of each node of the g.

Value

This method returns the local clustering coefficient.

Author(s)

Laurin Mueller

References

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.

Examples

1
2
3
4
5
6
7
library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)

deg <- graph::degree(g)
localClusteringCoeff(g)
localClusteringCoeff(g,deg)


Search within the QuACN package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.