Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

leiden.community

Leiden algorithm community detectiond Detect communities using Leiden algorithm (implementation copied from https://github.com/vtraag/leidenalg)


Description

Leiden algorithm community detectiond Detect 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)

leidenAlg

Implements the Leiden Algorithm via an R Interface

v0.1.1
GPL-3
Authors
Peter Kharchenko [aut], Viktor Petukhov [aut], V.A. Traag [ctb], Gábor Csárdi [ctb], Tamás Nepusz [ctb], Minh Van Nguyen [ctb], Evan Biederstedt [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.