updateblock.sbm: Update the block assignment of a node

Description Usage Arguments Value Note

View source: R/updateblock.R

Description

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

Usage

1
2
## 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


SBMSplitMerge documentation built on July 1, 2020, 5:23 p.m.