blockmat.blocks: Block matrix
Description
converts block assignments of a blocks object to a matrix of block assignments
Usage
# S3 method for blocks
blockmat(blocks, kappa)
Arguments
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