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 |
edges |
an |
sbmmod |
an |
sigma |
parameter for |
Details
iterate through the parameters in currsbm
and update.
Value
updated sbm
object
[Package SBMSplitMerge version 1.1.1 Index]