Calculate the median local clustering coefficient of a graph.
metric.cluster.median(g)
Arguments
g: The input network.
Returns
A real constant.
Details
The local clustering coefficient of a node is the ratio of the triangles connected to the node and the triples centered on the node.metric.cluster.median() calculates the (estimated) median clustering coefficient for all nodes in graph g with a justified error.
Examples
## Not run:x <- net.erdos.renyi.gnp(1000,0.1)metric.cluster.median(x)## End(Not run)
References
Wasserman, Stanley, and Katherine Faust. Social network analysis: Methods and applications. Vol. 8. Cambridge university press, 1994.