mirror of
https://github.com/bspeice/betterwithdata_cleaning_4
synced 2025-07-04 07:15:08 -04:00
Add tab for scatter plot
This commit is contained in:
@ -10,14 +10,18 @@ shinyUI(fluidPage(
|
||||
sidebarLayout(
|
||||
sidebarPanel(
|
||||
checkboxGroupInput('show_vars', 'Columns in dataset to show:',
|
||||
names(emergency2013), selected = names(emergency2013))
|
||||
names(emergency2013), selected = null)
|
||||
),
|
||||
|
||||
# Show a summary table of the selected variables
|
||||
|
||||
|
||||
mainPanel(
|
||||
tabsetPanel(
|
||||
id = 'dataset',
|
||||
tabPanel('emergency2013', dataTableOutput('mytable1')))
|
||||
tabPanel('emergency2013', dataTableOutput('mytable1')),
|
||||
tabPanel('scatterplot', plotOutput('distPlot'))
|
||||
)
|
||||
)
|
||||
)
|
||||
))
|
Reference in New Issue
Block a user