Learn R Programming

SBMSplitMerge (version 1.1.1)

updateblock.sbm: Update the block assignment of a node

Description

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

Usage

# S3 method for sbm
updateblock(currsbm, i, newblock, model)

Arguments

currsbm

an sbm object

i

the node to update

newblock

the new block for node i

model

an sbmmod object

Value

new sbm object