R: Testing for dyad-independence

is.dyad.independent {ergm} | R Documentation

## Testing for dyad-independence

### Description

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

### Usage

    ## 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.

[Package ergm version 3.8.0 Index]