View source: R/calculate-sna-pars.R
This function uses a symmetric adjacancy matrix and uses one of the 'igraph::cluster_' functions to estimate the number of clusters and the modularity of a network.
1 | get_communities(m, cluster_method = NULL)
|
m |
symmetric adjajency matrix of a network with values reflecting relationships among individuals. |
cluster_method |
see '?igraph::communities' for available functions. E.g. 'cluster_fastgreedy' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.