R/InPlayRates.R

Defines functions InPlayRates

Documented in InPlayRates

InPlayRates <- function() {
  appDir <- system.file("shiny-examples", "InPlayRates",
                        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.