ergm.getMCMCsample
function samples networks using an MCMC algorithm via
MCMC_wrapper.C
and is caple of running in multiple threads using ergm.mcmcslave
. The ergm.mcmcslave
function is that which the slave nodes in a parallel process will call to perform a validation on the mcmc equal to their slave number. It also returns an MCMC sample.
ergm.getMCMCsample(nw, model, MHproposal, eta0, control, verbose, response = NULL, ...)
ergm.mcmcslave(Clist, MHproposal, eta0, control, verbose, ..., prev.run = NULL, burnin = NULL, samplesize = NULL, interval = NULL, maxedges = NULL)
ergm.Cprepare
ergm.getMCMCsample
,the sample as a list containing:
ergm.mcmcslave
the MCMC sample as a list of the following: