Learn R Programming

cograph (version 2.0.0)

community_sizes: Get Community Sizes

Description

Get Community Sizes

Usage

community_sizes(x)

Value

Named integer vector of community sizes

Arguments

x

A cograph_communities object

Examples

Run this code
g <- igraph::make_graph("Zachary")
comm <- community_louvain(g)
community_sizes(comm)

Run the code above in your browser using DataLab