rerun.RdRerun inla on an
inla-object (output from link{inla})
inla.rerun(object, plain=FALSE)This function will take the result in object,
and rerun inla again.
If plain is FALSE, start the optimization
from the mode in object so that
we can obtain an improvement the mode for the hyperparameters.
Otherwise, start from the same configuration
as for object.
The returned value is an inla-object.
r = inla(y ~ 1, data = data.frame(y=1:10))
#> Warning: error in running command
#> Error in inla.inlaprogram.has.crashed(): The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully.
#> If this does not help, please contact the developers at <help@r-inla.org>.
r = inla.rerun(r)
#> Error: object 'r' not found