Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is.durational

Testing for durational dependent models


Description

These functions test whether an ERGM model or formula is durational dependent or not. If the formula or model does not include any terms that need information about the duration of existing ties, the ergm proceass can use more efficient internal data structures.

The method for NULL always returns FALSE by convention.

The method for character always returns FALSE by convention.

Usage

is.durational(object, ...)

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

## S3 method for class 'character'
is.durational(object, ...)

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

Arguments

object

An ergm object or an ERGM formula, or some characters, e.g., object="all" for monitoring purpose.

...

Unused at this time.

response

Name of the edge attribute whose value is to be modeled in the valued ERGM framework. Defaults to NULL for simple presence or absence, modeled via a binary ERGM.

basis

See ergm().

Value

TRUE if the ERGM terms in the formula or model are durational dependent ; FALSE otherwise.


ergm

Fit, Simulate and Diagnose Exponential-Family Models for Networks

v3.11.0
GPL-3 + file LICENSE
Authors
Mark S. Handcock [aut], David R. Hunter [aut], Carter T. Butts [aut], Steven M. Goodreau [aut], Pavel N. Krivitsky [aut, cre] (<https://orcid.org/0000-0002-9101-3362>), Martina Morris [aut], Li Wang [ctb], Kirk Li [ctb], Skye Bender-deMoll [ctb], Chad Klumb [ctb], Michał Bojanowski [ctb], Ben Bolker [ctb]
Initial release
2020-10-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.