map_model_behavior()
runs INLA::inla()
until its successful. This is
important on linux machines where INLA can produce unstable results.
Arguments
- df
Data frame of model data.
- formula
A formula that will be supplied to the model, such as
y~x
.- control.predictor
Used to set
compute = TRUE
to ensure that the posterior marginals of the fitted values are obtained and the mean and standard deviation of the fitted values returned for use in the infilling and predictions. Additional arguments can be passed in thecontrol.predictor
list, but must always includecompute = TRUE
. SeeINLA::control.predictor()
for details.- ...
Additional arguments passed to
INLA::inla()
.