drawparams {SBMSplitMerge}R Documentation

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

an edges

sbmmod

an sbmmod

sigma

parameter for drawparam

Details

iterate through the parameters in currsbm and update.

Value

updated sbm object


[Package SBMSplitMerge version 1.1.1 Index]