get_louvain_communities,cooccurrence_net-method | R Documentation |
Extracts the louvain communities from a cooccurrence_net
object using the louvain modularity optimization from the igraph
package (cluster_louvain
).
## S4 method for signature 'cooccurrence_net' get_louvain_communities(bic_net, min_size = 2, bics = NULL)
bic_net |
A |
min_size |
Minimum size of a louvain community to be returned (minimum value is 2). |
bics |
Not used. |
A list of cooccurrence_net
objects.
m <- matrix(seq(1:16), nrow=4) # m <- matrix(rnorm(10000), nrow=100) # bics <- c(run_fabia(m), run_isa(m), run_plaid(m)) # fn <- feature_network(bics, m) # get_louvain_communities(fn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.