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