Curve-ergmTerm {ergm} | R Documentation |
Impose a curved structure on term parameters
Description
Arguments may have the same forms as in the API, but for convenience, alternative forms are accepted.
If the model in formula
is curved, then the outputs of this operator term's map
argument will be used as inputs to the curved terms of the formula
model.
Curve
is an obsolete alias and may be deprecated and removed in a future release.
Usage
# binary: Curve(formula, params, map, gradient=NULL, minpar=-Inf, maxpar=+Inf, cov=NULL)
# binary: Parametrise(formula, params, map, gradient=NULL, minpar=-Inf, maxpar=+Inf,
# cov=NULL)
# binary: Parametrize(formula, params, map, gradient=NULL, minpar=-Inf, maxpar=+Inf,
# cov=NULL)
# valued: Curve(formula, params, map, gradient=NULL, minpar=-Inf, maxpar=+Inf, cov=NULL)
# valued: Parametrise(formula, params, map, gradient=NULL, minpar=-Inf, maxpar=+Inf,
# cov=NULL)
# valued: Parametrize(formula, params, map, gradient=NULL, minpar=-Inf, maxpar=+Inf,
# cov=NULL)
Arguments
formula |
a one-sided |
params |
a named list whose names are the curved parameter names, may also be a character vector with names. |
map |
the mapping from curved to canonical. May have the following forms:
|
gradient |
its gradient function. It is optional if
|
minpar , maxpar |
the minimum and maximum allowed curved parameter values. The parameters will be recycled to the appropriate length. |
cov |
optional |
See Also
ergmTerm
for index of model terms currently visible to the package.
Keywords
operator, binary, valued