Evaluates the given formula
on a network constructed by
taking \(y\) and removing any edges for which
\(f_{i,j}(y_{i,j}) = 0\) .
# binary: F(formula, filter)
a one-sided ergm()
-style formula with the terms to be evaluated
must contain one binary ergm
term, with
the following properties:
dyadic independence;
dyadwise contribution of 0 for a 0-valued dyad.
Formally, this means that it is expressable as
$$g(y) = \sum_{i,j} f_{i,j}(y_{i,j}),$$ where for all \(i\), \(j\), and \(y\),
\(f_{i,j}(y_{i,j})\) for which \(f_{i,j}(0)=0\).
For convenience, the term in specified can be a part of a simple logical or comparison operation: (e.g., ~!nodematch("A")
or ~abs("X")>3
),
which filters on \(f_{i,j}(y_{i,j}) \bigcirc 0\) instead.
ergmTerm
for index of model terms currently visible to the package.
ergm:::.formatTermKeywords("ergmTerm", "F", "subsection")