R/ChooseBeta.R

Defines functions ChooseBeta

Documented in ChooseBeta

ChooseBeta <- function() {
  appDir <- system.file("shiny-examples", "ChooseBetaPrior",
                        package = "ProbBayes")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `ProbBayes`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
bayesball/ProbBayes documentation built on Nov. 30, 2020, 9:09 p.m.