blockmat.blocks {SBMSplitMerge} | R Documentation |
Block matrix
Description
converts block assignments of a blocks
object to a matrix of block assignments
Usage
## S3 method for class 'blocks'
blockmat(blocks, kappa)
Arguments
blocks |
a |
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
[Package SBMSplitMerge version 1.1.1 Index]