leiden.community {leidenAlg} | R Documentation |
Leiden algorithm community detection Detects communities using Leiden algorithm (implementation copied from https://github.com/vtraag/leidenalg)
Description
Leiden algorithm community detection Detects communities using Leiden algorithm (implementation copied from https://github.com/vtraag/leidenalg)
Usage
leiden.community(graph, resolution = 1, n.iterations = 2)
Arguments
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) |
Value
a fakeCommunities object that returns membership and dendrogram
Examples
leiden.community(exampleGraph)
[Package leidenAlg version 1.1.3 Index]