sbm_label_vertices: assign labels to vertices in a graph

View source: R/stochastic_block_model.R

sbm_label_verticesR Documentation

assign labels to vertices in a graph

Description

assign labels to vertices in a graph

Usage

sbm_label_vertices(graph, block.sizes, block.names)

Arguments

graph

the igraph graph

block.sizes

a vector with the number of nodes in each group

block.names

a vector (same length as block.sizes) with names of each group


dfeehan/nrsimulatr documentation built on Feb. 27, 2024, 3:18 a.m.