is.durational: Testing for duration dependent models

Description Usage Arguments Value Methods (by class)

View source: R/is.durational.R

Description

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

The method for NULL always returns FALSE by convention.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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), ...)

Arguments

object

An ERGM formula, ergm_model object, or ergm_state object.

...

Unused at this time.

response, basis

See ergm().

Value

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

Methods (by class)


tergm documentation built on July 28, 2021, 5:10 p.m.