map_model_behavior: Catch instability of INLA

View source: R/predict_inla.R

map_model_behaviorR Documentation

Catch instability of INLA

Description

map_model_behavior() runs INLA::inla() until its successful. This is important on linux machines where INLA can produce unstable results.

Usage

map_model_behavior(df, formula, control.predictor, ...)

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 the control.predictor list, but must always include compute = TRUE. See INLA::control.predictor() for details.

...

Additional arguments passed to INLA::inla().

Value

A data frame.


caldwellst/augury documentation built on Oct. 10, 2024, 8:20 a.m.