R/cglmShiny.R

Defines functions cglmShiny

Documented in cglmShiny

#' cglmShiny
#'
#' Run a shiny app interface for this package. Provides a point-and-click
#' interface where the user can load their own data.
#'
#' @export
#'
#' @examples
#'
#' \dontrun{
#' cglmShiny()
#' }
#' 
cglmShiny <- function() {
  appDir <- system.file("shiny", package = "circglmbayes")
  if (appDir == "") {
    stop("Could not find shiny directory. Try re-installing `circglmbayes`.",
         call. = FALSE)
  }

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

Try the circglmbayes package in your browser

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

circglmbayes documentation built on Jan. 22, 2021, 5:09 p.m.