accept {SBMSplitMerge}R Documentation

accept propsbm with the acceptance probability alpha

Description

accept propsbm with the acceptance probability alpha

Usage

accept(currsbm, propsbm, edges, sbmmod, logjac = 0, logu = 0, ...)

Arguments

currsbm

current sbm state

propsbm

proposed sbm state

edges

an edges object

sbmmod

an sbmmod model

logjac

log Jacobian of transformation of variables

logu

log density for auxiliary variables

...

additional arguments to pass to dedges

Value

updated sbm object


[Package SBMSplitMerge version 1.1.1 Index]