Description Usage Arguments Details References
A function to calculate the weighted clustering of an association matrix
1 |
x |
a n X n association matrix |
mode |
one of "athr" (arithmetic mean), "geo" (geometric mean), "min", or "max" indicating which statistic to use for triplet values |
This function calculates a clustering coefficient for a weighted graph by calculating a value
for every triplet of nodes based on the statistic chosen in mode
. The clustering coefficient
is equal to the sum of triplet values for closed triads divided by the sum of all triplet values.
Ospsahl, T. and P. Panzarasa. 2009. "Clustering in weighted network." Social Networks, 31:155-163.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.