Learn R Programming

SBMSplitMerge (version 1.1.1)

updateblock.blocks: Update the block assignment of a node

Description

change the block assignment in an blocks object to a new block

Usage

# S3 method for blocks
updateblock(blocks, i, newblock)

Arguments

blocks

a blocks object

i

the node to update

newblock

the new block for node i

Value

new blocks object