run_app {bayesROE}R Documentation

Shiny Application to Visualize Bayesian Regions of Evidence


Initialize and execute a local Shiny session to interactively visualize and explore the Bayesian Regions of Evidence. Parameters entries from the sidebar are passed to the bayesROE function.


  onStart = NULL,
  options = list(launch.browser = TRUE),
  enableBookmarking = NULL,
  uiPattern = "/",
  init = NULL,
  cols = NULL,



A function that will be called before the app is actually run. This is only needed for shinyAppObj, since in the shinyAppDir case, a global.R file can be used for this purpose.


Named options that should be passed to the runApp call (these can be any of the following: "port", "launch.browser", "host", "quiet", "display.mode" and "test.mode"). You can also specify width and height parameters which provide a hint to the embedding environment about the ideal height/width for the app.


Can be one of "url", "server", or "disable". The default value, NULL, will respect the setting from any previous calls to enableBookmarking(). See enableBookmarking() for more information on bookmarking your app.


A regular expression that will be applied to each GET request to determine whether the ui should be used to handle the request. Note that the entire request path must match the regular expression in order for the match to be considered successful.


Named list containing the arguments that are passed to the bayesROE function: ee, se, delta, alpha.


Named list of RGB hexadecimal color keys.


arguments to pass to golem_opts. See '?golem::get_golem_options' for more details.


Start Shiny server and access application using browser


# reproducing Figure 3 from Hoefler and Miller (2023)
init <- list(ee = 9, se = 3.9, delta = c(0, 3.75), alpha = 0.025)
cols <- list(col_lower = "#F5FF82", col_upper = "#27CC1E")
   run_app(init = init, cols = cols)

[Package bayesROE version 0.1 Index]