#' The application server-side
#'
#' @param input,output,session Internal parameters for {shiny}.
#' DO NOT REMOVE.
#' @import shiny
#' @noRd
app_server <- function( input, output, session ) {
# List the first level callModules here
plot1vars <- callModule(mod_varselect_server, "plot1_vars")
plot2vars <- callModule(mod_varselect_server, "plot2_vars")
dat <- callModule(
mod_scatterplot_server,
"plots",
dataset = ames,
plot1vars = plot1vars,
plot2vars = plot2vars,
label = reactive({ input$label })
)
callModule(mod_dataviewer_server, "dataviewer", dat)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.