Learn R Programming

ergm (version 3.6.1)

is.curved: Testing for curved exponential family

Description

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

Usage

"is.curved"(object, ...) "is.curved"(object, response=NULL, basis=NULL, ...) "is.curved"(object, ...) "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.