vertex.communities: Vertex communities

View source: R/core identification.R

vertex.communitiesR Documentation

Vertex communities

Description

Memberships for several community detection algorithms and a meta community structure based on all communities.

Usage

vertex.communities(graph, weight = 1/E(graph)$weight)

Arguments

graph

a weighted graph from igraph

weight

the edge weights. Larger values are stronger ties.

Value

a data.frame with community memberships

Examples

data(den)
den.corp        <- has.tags(den, "Corporation", res = "relations", silent = TRUE)
graph.corp      <- elite.network.org(den.corp)
graph.corp      <- as.undirected(graph.corp)
vc              <- vertex.communities(graph.corp)
head(vc)
table(table(vc$"Meta louvain"))

antongrau/eliter documentation built on March 2, 2024, 8:05 p.m.