## S3 method for class 'btergm':
simulate(object, nsim = 1, seed = NULL,
index = NULL, formula = getformula(object),
coef = object@coef, verbose = TRUE, ...)
btergm
object, resulting from a call of the btergm
function.network.list
object is returned, which can be indexed just like a list
object, for example mynetworks[[1]]
for the first simulated netwobject
.object
.simulate.formula
function. For details, refer to the help page of the simulate.formula<
simulate.btergm
function is a wrapper for the simulate.formula
function in the help("simulate.formula")
). It can be used to simulate new networks from a btergm
object. The index
argument specifies from which of the original networks the new network(s) should be simulated. For example, if object
is an estimation based on cosponsorship networks from the 99th to the 107th Congress (as in Desmarais and Cranmer 2012), and the cosponsorship network in the 108th Congress should be predicted using the simulate.btergm
function, then the argument index = 9
should be passed to the function because the network should be based on the 9th network in the list (that is, the latest network, which is the cosponsorship network for the 107th Congress). Note that all relevant objects (the networks and the covariates) must be present in the workspace (as was the case during the estimation of the model).