R/PitchLocation.R

Defines functions PitchLocation

Documented in PitchLocation

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

  shiny::runApp(appDir, display.mode = "normal")
}
bayesball/CalledStrike documentation built on April 29, 2024, 6:21 p.m.