control.simulate {ergm}R Documentation

Auxiliary for Controlling ERGM Simulation

Description

Auxiliary function as user interface for fine-tuning ERGM simulation.

Usage

control.simulate(prop.weights = "default", prop.args = NULL,
drop = FALSE, summarizestats = FALSE, maxedges=20000,
maxchanges = 1e+06, 
packagenames="ergm", 
network.output="network",
parallel=0)

control.simulate.formula(prop.weights = "default", prop.args = NULL,
drop = FALSE, summarizestats = FALSE, maxedges=20000,
maxchanges = 1e+06, 
packagenames="ergm", 
network.output="network",
parallel=0)

control.simulate.ergm(prop.weights = "default", prop.args = NULL, drop = FALSE, 
summarizestats = FALSE, 
maxchanges = 1e+06, maxedges = 20000,
packagenames="ergm", 
network.output="network",
parallel=0)

Arguments

prop.weights

Specifies the method to allocate probabilities of being proposed to dyads. For the simulate.formula variant, defaults to "default", which picks a reasonable default for the specified constraint. For simulate.ergm variant, defaults to NULL, to reuse the weights with which the given ergm.object was fitted. Other possible values are "TNT", "random", and "nonobserved", though not all values may be used with all possible constraints.

prop.args

An alternative, direct way of specifying additional arguments to proposal.

drop

logical; Should the degenerate terms in the model be dropped from the fit? If statistics occur on the extreme of their range they correspond to infinite parameter estimates. Default is FALSE.

summarizestats

logical; Print out a summary of the sufficient statistics of the generated network. This is useful as a diagnostic. Default is FALSE.

maxedges

maximum number of edges expected in network

network.output

character; class with which to store the output networks. The options are "network" (default) and "edgelist.compressed" (which saves space but only supports networks without vertex attributes)

maxchanges

Currently unused

packagenames

Names of packages in which changestatistics are found.

parallel

Number of threads in which to run the sampling.

Details

This function is only used within a call to the simulate function. See the usage section in simulate.ergm for details.

Value

A list with arguments as components.

See Also

simulate.ergm, simulate.formula. control.ergm performs a similar function for ergm; control.gof performs a similar function for gof.


[Package ergm version 2.4-3 Index]