ergm.getmodel(formula, nw, response = NULL, silent = FALSE, role = "static", ...)
ergm.getnetwork(form, loopswarning = TRUE)
ergm.getterms(formula)
offset.info.formula(object, response = NULL)
remove.offset.formula(object, response = NULL)
# Deprecated. Use nonsimp.update.formula() from statnet.common package.
ergm.update.formula(object, new, ..., from.new = FALSE)
network ~ model.term(s)
'network ~ model.term(s)'
ergm.getmodel
returns a 'model.ergm' object as a list containing:
ergm.getmodel
InitErgmTerm.X
function.
ergm.getnetwork
returns:
ergm.getterms
returns:
terms
>. see terms.object
for details about
the components
terms.list.formula
returns a list of formula terms, each of
witch having an additional attribute "sign"
.ergm.update.formula
, remove.offset.formula
and
ergm.getmodel
function parses the given formula, and initiliazes each ergm
term via the InitErgmTerm
functions to create a model.ergm
object for the
given network
ergm.getnetwork
function ensures that the network in a given formula
is valid; if so, the network is returned; if not, execution is halted with warnings
ergm.getterms
function returns the terms of a given formula and ensures that the formula is indeed a formula with the necessary ~
operator
ergm.update.formula
(DEPRECATED: use
nonsimp.update.formula
instead) is a reimplementation of update.formula
that does not simplify. Note that the resulting formula's environment is set as follows. If
from.new==FALSE
, it is set to that of object. Otherwise, a new
sub-environment of object, containing, in addition, variables in new
listed in from.new (if a character vector) or all of new (if TRUE).
offset.info.formula
returns the offset vectors associated with a formula.
remove.offset.formula
deletes all offset
terms in an ERGM formula.