#' code for running shiny app
#'
#' @import shiny shinydashboard shinyjs DT plotly shinyBS
#' @export
run_nMyo <- function() {
require(shinydashboard)
require(shiny)
require(shinyjs)
require(DT)
require(shinyBS)
require(plotly)
appDir <- system.file("shiny-examples", "nmyo_app", package = "nMyo")
if (appDir == "") {
stop("Could not find example directory. Try re-installing `nMyo`.", call. = FALSE)
}
runApp(appDir, display.mode = "normal")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.