blockmat.sbm: Block matrix

Description Usage Arguments Value

View source: R/blockmat.R

Description

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

Usage

1
2
## 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


SBMSplitMerge documentation built on July 1, 2020, 5:23 p.m.