sbm_block_sizes.sbm_4group: given parameter values, compute block sizes

View source: R/stochastic_block_model.R

sbm_block_sizes.sbm_4groupR Documentation

given parameter values, compute block sizes

Description

given the parameter values N, p.H, and p.F, compute the number of vertices in each of the four blocks: FnotH, FH, notFnotH, notFH

Usage

## S3 method for class 'sbm_4group'
sbm_block_sizes(params)

Arguments

params

a list whose entries contain the parameter values which govern this random graph draw (see details)

Value

a list; block.sizes has a vector whose names are block names, values are block sizes; gps.in.F is a vector with the names of groups whose members are in F; and gps.in.H is a vector with the names of groups whose members are in H


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