addblock: Add a block move

Description Usage Arguments Value

View source: R/rjmcmc.R

Description

proposes adding an empty block labelled kappa+1 to sbm

Usage

1
addblock(sbm, edges, sbmmod, rho = 1)

Arguments

sbm

the current state of the sampler

edges

an edges object

sbmmod

an sbmmod model

rho

probability of choosing to add a block

Value

an updated sbm object


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