Label-ergmTerm {ergm} | R Documentation |
Modify terms' coefficient names
Description
This operator evaluates formula
without modification, but modifies its coefficient and/or parameter names based on label
and pos
.
Usage
# binary: Label(formula, label, pos)
# valued: Label(formula, label, pos)
Arguments
formula |
a one-sided |
label |
a character vector specifying the label for the terms, a |
pos |
controls how |
Details
If pos == "replace"
:
Elements for which
is.na(label) == TRUE
are preserved.If the model is curved,
label=
can be a either function/mapper or alist
with two elements, the first element giving the curved (model) parameter names and second giving the canonical parameter names.NULL
leaves the respective name unchanged.
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
operator, binary, valued