These functions test whether an ERGM fit or formula is curved.
# 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, ...)
An ergm
object or an ERGM formula.
Name of the edge attribute whose value is to be modeled. See ergm
.
Unused at this time.
TRUE
if the model fit or one implied by the formula is
curved; FALSE
otherwise.
Curvature is checked by testing if all model parameters are canonical.