sbm_label_vertices: assign labels to vertices in a graph

Description Usage Arguments

View source: R/stochastic_block_model.R

Description

assign labels to vertices in a graph

Usage

1
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 June 12, 2018, 4:27 a.m.