View source: R/clusteringCoefficient.R
clusteringCoefficient | R Documentation |
Calculate the clustering coefficient for an adjacency matrix. By default, the local clustering coefficient is calculated. From the PCIT package after it was archived on the CRAN.
clusteringCoefficient(adj, FUN = "localClusteringCoefficient", ...)
adj |
An adjacency matrix. Calculating the clustering coefficient only makes sense if some connections are zero i.e. no connection. |
FUN |
The function for calculating the clustering coefficient. |
... |
Arguments to pass to FUN |
The clustering coefficient(s) for the adjacency matrix.
Nathan S. Watson-Haigh
localClusteringCoefficient
clusteringCoefficient(network_gen(50,.33)$network)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.