accept: accept 'propsbm' with the acceptance probability alpha

Description Usage Arguments Value

View source: R/sampler.R

Description

accept propsbm with the acceptance probability alpha

Usage

1
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


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