| B-ergmTerm {ergm} | R Documentation |
Wraps binary ergm terms for use in valued models, with formula specifying which terms
are to be wrapped and form specifying how they are to be
used and how the binary network they are evaluated on is to be constructed.
# valued: B(formula, form)
formula |
a one-sided |
form |
One of three values:
|
For example, B(~nodecov("a"), form="sum") is equivalent to
nodecov("a", form="sum") and similarly with
form="nonzero" .
When a valued implementation is available, it should be preferred, as it is likely to be faster.
ergmTerm for index of model terms currently visible to the package.