is.curved | R Documentation |
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 class ''NULL''
is.curved(object, ...)
## S3 method for class 'formula'
is.curved(object, response = NULL, basis = NULL, ...)
## S3 method for class 'ergm'
is.curved(object, ...)
object |
An |
... |
Arguments passed on to lower-level functions. |
response |
Either a character string, a formula, or
|
basis |
See |
Curvature is checked by testing if all model parameters are canonical.
TRUE
if the object represents a
curved exponential family; FALSE
otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.