These functions test whether an ERGM fit, formula, or some other object represents a curved exponential family.
The method for NULL
always returns FALSE
by
convention.
is.curved(object, ...)# S3 method for NULL
is.curved(object, ...)
# S3 method for formula
is.curved(object, response = NULL, basis = NULL, ...)
# S3 method for ergm
is.curved(object, ...)
An ergm
object or an ERGM formula.
Arguments passed on to lower-level functions.
Name of the edge attribute whose value is to be
modeled in the valued ERGM framework. Defaults to NULL
for
simple presence or absence, modeled via a binary ERGM.
See ergm()
.
TRUE
if the object represents a
curved exponential family; FALSE
otherwise.
Curvature is checked by testing if all model parameters are canonical.