Learn R Programming

SBMSplitMerge (version 1.1.1)

drawparams: Metropolis updates by drawing parameters

Description

Simulate parameters for the given model with a Metropolis-Hastings step

Usage

drawparams(sbm, edges, sbmmod, sigma = 0.1)

Arguments

sbm

current sbm object

edges
sbmmod
sigma

parameter for drawparam

Value

updated sbm object

Details

iterate through the parameters in currsbm and update.