Aliases: cluster_fast_greedy fastgreedy.community
Keywords: graphs
### ** Examples g <- make_full_graph(5) %du% make_full_graph(5) %du% make_full_graph(5) g <- add_edges(g, c(1,6, 1,11, 6, 11)) fc <- cluster_fast_greedy(g) membership(fc)
[1] 3 3 3 3 3 1 1 1 1 1 2 2 2 2 2
sizes(fc)
Community sizes 1 2 3 5 5 5