priors.used.RdPrint the priors used for the hyperparameters
inla.priors.used(result, digits=6L)This function provides a more human-friendly output of result$all.hyper
of all the priors used for the hyperparameters.
Since not all information about the model is encoded in this object, more hyperparameters
than actually used, may be printed. In particular, group.theta1 is printed
even though the argument group in f() is not used. Similarly for spde-models,
but the user should know that, for example, only the two first ones
are actually used.
Hopefully, this issue will be fixed in the future.
r = inla(y ~ 1 + x, data = data.frame(y = 1:10, x = rep(1:5, 2)))
#> 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>.
inla.priors.used(r)
#> Error: object 'r' not found