mergeavg: Merge blocks

Description Usage Arguments Details Value

View source: R/rjmcmc.R

Description

Merge-move using an average to merge parameters

Usage

1

Arguments

sbm

the current state of the sampler

edges

an edges object

sbmmod

an sbmmod model

...

additional parameter to 'accept'

Details

the blocks are chosen at random, the nodes reassigned to the block with the smallest index, then the parameters are combined using the average on the transformed scale

Value

an updated sbm object


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