View source: R/is.dyad.independent.R
is.dyad.independent | R Documentation |
These functions test whether an ERGM fit, a formula, or some other object represents a dyad-independent model.
The method for NULL
always returns TRUE
by
convention.
is.dyad.independent(object, ...)
## S3 method for class ''NULL''
is.dyad.independent(object, ...)
## S3 method for class 'formula'
is.dyad.independent(object, response = NULL, basis = NULL, ...)
## S3 method for class 'ergm_conlist'
is.dyad.independent(object, object.obs = NULL, ...)
## S3 method for class 'ergm'
is.dyad.independent(object, how = c("overall", "terms", "space"), ...)
object |
The object to be tested for dyadic independence. |
... |
Unused at this time. |
response |
Either a character string, a formula, or
|
basis |
See |
object.obs |
For the |
how |
one of |
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.
TRUE
if the model implied by the object is
dyad-independent; FALSE
otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.