Learn R Programming

tergm (version 4.2.1)

is.durational: Testing for duration dependent models

Description

These functions test whether an ERGM is duration dependent or not.

The method for NULL always returns FALSE by convention.

Usage

is.durational(object, ...)

# S3 method for `NULL` is.durational(object, ...)

# S3 method for ergm_model is.durational(object, ...)

# S3 method for ergm_state is.durational(object, ...)

# S3 method for formula is.durational(object, response = NULL, basis = ergm.getnetwork(object), ...)

Value

TRUE if the ERGM terms in the model are duration dependent; FALSE otherwise.

Arguments

object

An ERGM formula, ergm_model object, or ergm_state object.

...

Unused at this time.

response, basis

See ergm().

Methods (by class)

  • 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.