Description Usage Arguments Value Note Examples
Find communities in a graph
1 | detectCommunities(dnet, type = "walktrap")
|
dnet |
A document network |
type |
The algorithm to be used: options include "walktrap" and "betweenness". |
view |
A logical that indicates whether you want to view the communities after detecting them or not. Default is True. |
dnet A dnet
object with a communities
object added into the slot
that holds the community data detected.
This function includes only the "walktrap" and "edge.betweenness" options. For a
wider selection of community detection algorithms, consult the igraph
package
directly. Communities identified using alternative methods can be added to a
dnet
object by assigning them to the dnet@communities
slot manually.
If you want options added, email the developer for requests.
1 2 | communities = detectCommunities(dnet, type="edge.betweenness")
dnet = detectCommunities(dnet, view=F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.