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

as.rlebdm.ergm_conlist

Extract dyad-level ERGM constraint information into an rlebdm object


Description

A function to combine the free_dyads attributes of the constraints appropriately to generate an rlebdm of dyads toggleable and/or missing and/or informative under that combination of constraints.

Usage

## S3 method for class 'ergm_conlist'
as.rlebdm(
  x,
  constraints.obs = NULL,
  which = c("free", "missing", "informative"),
  ...
)

Arguments

x

an ergm_conlist object: a list of initialised constraints. NULL is treated as a placeholder for no constraint (i.e., a constant matrix of TRUE).

constraints.obs

observation process constraints; defaults to NULL for all dyads observed (i.e., a constant matrix of FALSE).

which

which aspect of the constraint to extract:

free

for dyads that may be toggled under the constraints x; ignores constraints.obs;

missing

for dyads that are free but considered unobserved under the constraints; and

informative

for dyads that are both free and observed.

...

additional arguments, currently unused.

Note

For which=="free" or "informative", NULL return value is a placeholder for a matrix of TRUE, whereas for which=="missing" it is a placeholder for a matrix of FALSE.

Each element in the constraint list has a sign, which determins whether the constraint further restricts (for +) or potentially relaxes restriction (for -).

See Also


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.