sampler {SBMSplitMerge} | R Documentation |
top level sampler function
Description
top level sampler function
Usage
sampler(
edges,
sbmmod,
nSteps = 1000,
algorithm = "rj",
sigma = 0.5,
statusfreq,
currsbm,
...
)
Arguments
edges |
an |
sbmmod |
an |
nSteps |
number of steps to run sampler |
algorithm |
choice of algorithm options are: |
sigma |
random walk parameter for |
statusfreq |
print the elapsed number of iterations every |
currsbm |
initial state for |
... |
additional parameters to pass to step |
Value
postz
traces for block assignments z
postt
traces for theta
postk
traces for number of blocks kappa
postn
traces for number of occupied blocks
nsteps
number of iterations of chain
algorithm
choice
Examples
## see vignette("Weibull-edges")
[Package SBMSplitMerge version 1.1.1 Index]