The generic enformulate.curved
converts an ergm
object
or formula of a model with curved terms to the variant in which the curved
parameters embedded into the formula and are removed from the parameter
vector. This is the form that used to be required by ergm()
calls.
enformulate.curved(object, ...)# S3 method for ergm
enformulate.curved(object, ...)
# S3 method for formula
enformulate.curved(object, theta, ...)
A list with the following components:
The formula with curved parameter estimates incorporated.
The coefficient vector with curved parameter estimates removed.
An ergm
object or an ERGM formula. The curved
terms of the given formula (or the formula used in the fit) must have all of
their arguments passed by name.
Unused at this time.
Curved model parameter configuration.
Because of a current kludge in ergm()
, output from one run
cannot be directly passed as initial values (control.ergm(init=)
) for
the next run if any of the terms are curved. One workaround is to embed the
curved parameters into the formula (while keeping fixed=FALSE
) and
remove them from control.ergm(init=)
.
This function automates this process for curved ERGM terms included with the ergm package. It does not work with curved terms not included in ergm.
ergm()
, simulate.ergm()