These are internal functions not intended to be called by end
users. ergm_Clist
collates the information in the given object
into a form suitable for being passed to the C routines.
The ergm.Cprepare
is a legacy function that constructs a combination of ergm_Clist
s from the given network
and the given ergm_model
.
ergm.design
obtain the set of informative dyads based on the network structure. Note that model=
argument is not needed and will be removed in a future release.
ergm_Clist(object, ...)ergm.Cprepare(nw, m, response = NULL)
# S3 method for network
ergm_Clist(object, response = NULL, ...)
# S3 method for ergm_model
ergm_Clist(object, ...)
ergm.design(nw, model = NULL, verbose = FALSE)
object to be collated.
additional arguments for methods.
a network or similar object
a model object, as returned by ergm_model
Name of the edge attribute whose value is to be
modeled in the valued ERGM framework. Defaults to NULL
for
simple presence or absence, modeled via a binary ERGM.
an ergm_model
.
logical, whether the design matrix should be printed; default=FALSE
A list of class "ergm_Clist"
and possibly a subclass "ORIGINAL.ergm_Clist"
containing some subset of the following elements:
the size of the network
whether the network is directed (T or F)
whether the network is bipartite (T or F)
the number of dyads in the network
the number of edges in this network
the vector of tail nodes; tail nodes are the 1st column of the implicit edgelist, so either the lower-numbered nodes in an undirected graph, or the out nodes of a directed graph, or the b1 nodes of a bipartite graph
the vector of head nodes; head nodes are the 2nd column of the implicit edgelist, so either the higher-numbered nodes in an undirected graph, or the in nodes of a directed graph, or the b2 nodes of a bipartite graph
the number of model terms
the total number of change statistics for all model terms
the concatenated vector of 'input's from each model term as returned by
InitErgmTerm.X
or InitErgm.X
the concatenated string of model term names
the concatenated string of package names that contain the C function 'd_fname'; default="ergm" for each fname in fnamestring
ergm.design returns a rlebdm of informative (non-missing, non fixed) dyads.
network
: Collates a network
object.
ergm_model
: Collates an ergm_model
object.