blockmat.blocks: Block matrix

Description Usage Arguments Value

View source: R/blockmat.R

Description

converts block assignments of a blocks object to a matrix of block assignments

Usage

1
2
## S3 method for class 'blocks'
blockmat(blocks, kappa)

Arguments

blocks

a blocks 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 blocks


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