leiden.community | R Documentation |
Leiden algorithm community detection Detects communities using Leiden algorithm (implementation copied from https://github.com/vtraag/leidenalg)
leiden.community(graph, resolution = 1, n.iterations = 2)
graph |
graph on which communities should be detected |
resolution |
resolution parameter (default=1.0) - higher numbers lead to more communities |
n.iterations |
number of iterations that the algorithm should be run for (default=2) |
a fakeCommunities object that returns membership and dendrogram
leiden.community(exampleGraph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.