R: Testing for curved exponential family

is.curved {ergm} | R Documentation

## Testing for curved exponential family

### Description

These functions test whether an ERGM fit or formula is curved.

### Usage

    ## S3 method for class 'ergm'
    is.curved(object, ...)
    ## S3 method for class 'formula'
    is.curved(object,
                        response=NULL,
                        basis=NULL,
                        ...)
    ## S3 method for class 'ergm.model'
    is.curved(object, ...)
    ## S3 method for class 'NULL'
    is.curved(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`.
`...` | Unused at this time.

### Details

Curvature is checked by testing if all model parameters are canonical.

### Value

`TRUE` if the model fit or one implied by the formula is curved; `FALSE` otherwise.

[Package ergm version 3.8.0 Index]