These functions test whether an ERGM fit, a formula, or some other object represents a dyad-independent model.
The method for NULL
always returns FALSE
by
convention.
is.dyad.independent(object, ...)# S3 method for NULL
is.dyad.independent(object, ...)
# S3 method for formula
is.dyad.independent(object, response = NULL,
basis = NULL, ...)
# S3 method for ergm_conlist
is.dyad.independent(object, object.obs = NULL,
...)
# S3 method for ergm
is.dyad.independent(object, ...)
The object to be tested for dyadic independence.
Unused at this time.
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.
See ergm
.
For the ergm_conlist
method, the observed data constraint.
TRUE
if the model implied by the object is
dyad-independent; FALSE
otherwise.
Dyad independence is determined by checking if all of the constituent parts of the object (formula, ergm terms, constraints, etc.) are flagged as dyad-independent.