R/PitchAccuracy.R

Defines functions PitchAccuracy

Documented in PitchAccuracy

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

  shiny::runApp(appDir, display.mode = "normal")
}
bayesball/ShinyBaseball documentation built on March 26, 2024, 9:26 a.m.