View source: R/control_multibergm.R
control_multibergm | R Documentation |
Auxiliary function used to specify settings controlling multibergm fitting. This allows the user to control various aspects of the fitting algorithm, including MCMC proposal covariance, auxiliary iterations for ERGM simulation, and number of cores to be used in parallel.
control_multibergm(
ergm_formula,
mod_mat,
constraints = ~.,
proposal_update_freq = 20,
proposal_update_max = 1000,
proposal_rescale = 500,
init_proposals = NULL,
aux_iters = 1000,
n_batches = 1
)
ergm_formula |
An R |
constraints |
A one-sided formula specifying one or more constraints on the support of the distribution of the networks being simulated. |
proposal_update_freq |
How often to update the MCMC proposal covariances. |
proposal_update_max |
When to stop adaptive the MCMC proposals. |
proposal_rescale |
When to reset adaptation following an initial burn_in |
init_proposals |
A list of covariance matrices used to initialise the MCMC proposals. |
aux_iters |
Number of internal (auxiliary) MCMC iterations used to simulate a network from the model. |
n_batches |
Number of computing cores available to simulate networks from the model in parallel. |
groups |
A vector of group memberships |
A list containing the following control parameters:
aux_iters
: Number of internal (auxiliary) MCMC iterations
used to simulate a network from the model
proposal
: A list of covariance matrices used to
generate the MCMC proposals.
batches
: Used to batch parallel runs of ergm simulation
model
: Internal representation of the ergm network model
clists
: ERGM parameters passed to the ergm simulation
function
mh_proposals
: ERGM parameters passed to the ergm simulation
function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.