updateblock.sbm {SBMSplitMerge}R Documentation

Update the block assignment of a node

Description

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

Usage

## S3 method for class '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

Note

If adding a new block, this draws from the prior


[Package SBMSplitMerge version 1.1.1 Index]