wclust: Weighted clustering

Description Usage Arguments Details References

Description

A function to calculate the weighted clustering of an association matrix

Usage

1
wclust(x, mode = c("athr", "geo", "min", "max"))

Arguments

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

Details

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.

References

Ospsahl, T. and P. Panzarasa. 2009. "Clustering in weighted network." Social Networks, 31:155-163.


thom82/whassocr documentation built on May 31, 2019, 10:46 a.m.