trim_INLA_model_obj: Trim INLA object
Description
Trim an INLA object to only include what is necessary for
id_activations
or BayesGLM2
.
Usage
trim_INLA_model_obj(INLA_model_obj, minimal = FALSE)
Value
A trimmed "inla"
object.
Arguments
- INLA_model_obj
An object of class "inla"
.
- minimal
Just keep the two parameters needed for BayesGLM2
?
Default: FALSE
. !minimal
is required for
id_activations
, but minimal
is sufficient for
BayesGLM2
.