Learn R Programming

ergm (version 3.8.0)

is.curved: Testing for curved exponential family

Description

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

Usage

# S3 method for ergm
is.curved(object, ...)
# S3 method for formula
is.curved(object, 
                    response=NULL,
                    basis=NULL,
                    …)
# S3 method for ergm.model
is.curved(object, ...)
# S3 method for 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.

Value

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

Details

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