This is an internal wrapper for iterated runs of INLA::inla
.
For nonlinear models, a linearisation is done with
bru_compute_linearisation
, with a line search method between each
iteration. The INLA::inla.stack
information is setup by bru_make_stack()
.
iinla(model, lhoods, initial = NULL, options)
An iinla
object that inherits from INLA::inla
, with an
added field bru_iinla
with elements
The diagnostic log messages produced by the run
The list of linearisation points, one for each inla run
The inla.stack
object from the final inla run
A list of convergence tracking vectors
If an inla run is aborted by an error, the returned object also contains
an element error
with the error object.
A bru_model object
A list of likelihood objects from like()
A previous bru
result or a list of named latent variable
initial states (missing elements are set to zero), to be used as starting
point, or NULL
. If non-null, overrides options$bru_initial
A bru_options
object.