create a sampler
createCppSampler(
formula,
modelArgs = list(modelClass = "Model"),
dyadToggle = NULL,
dyadArgs = list(),
vertexToggle = NULL,
vertexArgs = list(),
nodeSamplingPercentage = 0.2,
ignoreMnar = TRUE,
theta = NULL,
...
)
a MetropolisHastings object
the model formula
additiional arguments for the model, e.g. tapering parameters
the method of sampling to use. Defaults to alternating between nodal-tie-dyad and neighborhood toggling.
list of args for dyad
the method of vertex attribuate sampling to use.
list of args for vertex
how often the nodes should be toggled
ignore missing not at random offsets
parameter values
additional parameters to be passed to createCppModel