Testing for dyad-independence

Share:

Description

These functions test whether an ERGM fit or formula is dyad-independent.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## S3 method for class 'ergm'
is.dyad.independent(object, ...)
## S3 method for class 'formula'
is.dyad.independent(object, 
                    response=NULL,
                    basis=NULL,
                    ...)
## S3 method for class 'conlist'
is.dyad.independent(object, 
                    object.obs = NULL, 
                    ...)
## S3 method for class 'ergm.model'
is.dyad.independent(object, ...)
## S3 method for class 'NULL'
is.dyad.independent(object, ...)

Arguments

object

An ergm object or an ERGM formula.

response, basis

Name of the edge attribute whose value is to be modeled. See ergm.

object.obs
...

Unused at this time.

Details

Dyad independence is determined by checking if all of the constituent parts of the object (formula, ergm terms, etc) are flagged as dyad-independent.

Value

TRUE if the model fit or one implied by the formula is dyad-independent; FALSE otherwise.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.