clusteringCoef | R Documentation |
Calculate the clustering coefficient of each node.
clusteringCoef(A)
A |
an adjacency Matrix (0/1). |
A vector with the clustering coefficient of each node.
## Not run: data(SIM,package = "betaMix") res <- betaMix(betaMix::SIM, maxalpha = 1e-6,ppr = 0.01,subsamplesize = 30000, ind=TRUE) adjMat <- getAdjMat(res) clusteringCoef(adjMat) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.