R: Modify terms' coefficient names

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 `ergm()`-style formula with the terms to be evaluated
`label` | either a character vector specifying the label for the terms or a function through which term names are mapped (or a `as_mapper` -style formula).
`pos` | controls how `label` modifies the term names: one of `"prepend"` , `"replace"` , `"append"` , or `"("` , with the latter wrapping the term names in parentheses like a function call with name specified by `label` .

### See Also

`ergmTerm` for index of model terms currently visible to the package.

[Package ergm version 4.2.2 Index]