makemyprior_gui {makemyprior} | R Documentation |
This functions opens a shiny app where the specified prior can be seen, and changed.
makemyprior_gui(prior, guide = FALSE, no_pc = FALSE)
prior |
An object from make_prior. |
guide |
Logical, whether to open the guide directly when the app is started. Default is |
no_pc |
Turn off computation of the PC prior on splits when using the shiny-app, to avoid slow computations.
Upon closing, the PC priors will be computed. Default is |
Returns an object that can be sent to inference_stan or inference_inla. Can also be sent to makemyprior_gui again.
## Not run:
vignette("make_prior", package = "makemyprior")
## End(Not run)
if (interactive()){
ex_prior <- makemyprior_example_model()
new_prior <- makemyprior_gui(ex_prior)
}