R/ChooseBeta.R

Defines functions ChooseBeta

Documented in ChooseBeta

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

  shiny::runApp(appDir, display.mode = "normal")
}

Try the ProbBayes package in your browser

Any scripts or data that you put into this service are public.

ProbBayes documentation built on March 13, 2020, 1:31 a.m.