ggpairsModuleUI1 {jsmodule} | R Documentation |
ggpairsModuleUI1: Variable selection module UI for ggpairs
Description
Variable selection module UI for ggpairs
Usage
ggpairsModuleUI1(id)
Arguments
id |
id |
Details
Variable selection module UI for ggpairs
Value
Variable selection module UI for ggpairs
Examples
library(shiny)
library(DT)
library(data.table)
library(jstable)
library(ggplot2)
library(GGally)
ui <- fluidPage(
sidebarLayout(
sidebarPanel(
ggpairsModuleUI1("ggpairs")
),
mainPanel(
plotOutput("ggpairs_plot"),
ggpairsModuleUI2("ggpairs")
)
)
)
server <- function(input, output, session) {
data <- reactive(mtcars)
data.label <- reactive(jstable::mk.lev(mtcars))
out_ggpairs <- callModule(ggpairsModule2, "ggpairs",
data = data, data_label = data.label,
data_varStruct = NULL
)
output$kaplan_plot <- renderPlot({
print(out_ggpairs())
})
}
[Package jsmodule version 1.5.6 Index]