INLAutils
INLAutils copied to clipboard
Interface to bayesplot plot
trafficstars
Copy pit plot from here.
https://arxiv.org/pdf/1806.02748.pdf
It's from bayesplot. I guess a useful way to go INLA to bayesplot would be useful.
Something like
bayesplot(inla_model, gg_bayes_plot) with gg_bayes_plot being a function from bayes plot.
The alternatives that are less good include...
out <- prep_bayesplot(inla_model)
gg_bayes_plot(out[[1]], out[[2]], out[[3]])
or exporting a version of every bayesplot function like gg_inla_bayes_plot.
Final option that may not work is like:
out <- prep_bayesplot(inla_model)
do.call(gg_bayes_plot, out)