Learn R Programming

ergm (version 3.9.4)

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

See Also

ergm-constraints