blockmat.sbm {SBMSplitMerge}R Documentation

Block matrix

Description

converts block assignments of an sbm object to a matrix of block assignments

Usage

## S3 method for class 'sbm'
blockmat(SBM, kappa)

Arguments

SBM

an sbm object

kappa

number of blocks in matrix

Value

matrix with kappa rows and a 1 at (k,i) if node i is in block k under SBM


[Package SBMSplitMerge version 1.1.1 Index]