View source: R/is.durational.R
is.durational | R Documentation |
These functions test whether an ERGM is duration dependent or not.
The method for NULL
always returns FALSE
by
convention.
is.durational(object, ...)
## S3 method for class ''NULL''
is.durational(object, ...)
## S3 method for class 'ergm_model'
is.durational(object, ...)
## S3 method for class 'ergm_state'
is.durational(object, ...)
## S3 method for class 'formula'
is.durational(object, response = NULL, basis = ergm.getnetwork(object), ...)
object |
An ERGM formula, |
... |
Unused at this time. |
response , basis |
See |
TRUE
if the ERGM terms in the model are duration dependent;
FALSE
otherwise.
is.durational(ergm_model)
: Test if the ergm_model
has duration-dependent terms, which call for lasttoggle
data structures.
is.durational(ergm_state)
: Test if the ergm_state
has duration-dependent terms, which call for lasttoggle
data structures.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.