metric.cluster.mean: Mean Local Clustering Coefficient

Description Usage Arguments Details Value Author(s) References Examples

View source: R/metric.cluster.mean.R

Description

Calculate the average local clustering coefficient of a graph.

Usage

1

Arguments

g

The input network.

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.mean() calculates the (estimated) average clustering coefficient for all nodes in graph g with a justified error.

Value

A real constant.

Author(s)

Xu Dong, Nazrul Shaikh.

References

Wasserman, Stanley, and Katherine Faust. Social network analysis: Methods and applications. Vol. 8. Cambridge university press, 1994.

Examples

1
2
3
4
## Not run: 
x <-  net.erdos.renyi.gnp(n = 1000, ncores = 3, p =  0.06)
metric.cluster.mean(x) 
## End(Not run)

networkgroupR/fastnet documentation built on June 6, 2017, 10:20 a.m.