R/runapp.R

Defines functions SRTsim_shiny

Documented in SRTsim_shiny

#' Run the SRTsim Shiny Application
#' @importFrom shiny shinyApp runApp
#' @importFrom ggplot2 theme_set theme_bw
#' @return A list that contains a count matrix, a location dataframe, and all parameter specifications.
#' @export
#' @examples
#'
#'\dontrun{
#'  ## Will Load an Interactive Session
#' shinyOutput <- SRTsim_shiny()
#'}

SRTsim_shiny <- function(){
  # vv = NULL
  theme_set(theme_bw())
  out <- runApp(shinyApp(ui,server))
  return(out)
}

Try the SRTsim package in your browser

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

SRTsim documentation built on Jan. 13, 2023, 5:12 p.m.