Learn R Programming

ergm (version 4.7.1)

fixedas-ergmConstraint: Fix specific dyads

Description

Fix the dyads in fixed.dyads at their current value, preserve the edges in present, and preclude the edges in absent.

Usage

# fixedas(fixed.dyads, present, absent)

Arguments

fixed.dyads, present, absent

a two-column edge list or a network

Details

present and absent differ from fixed.dyads in that they check that the specified edges are in fact present and/or absent and stop with an error if not.

See Also

ergmConstraint for index of constraints and hints currently visible to the package.

ergm:::.formatTermKeywords("ergmConstraint", "fixedas", "subsection")