我想知道是否可以在 UI 上并排显示复选框选项。我尝试过的一些示例代码:
shinyUI(pageWithSidebar(
headerPanel("Example"),
sidebarPanel(
checkboxInput(inputId = "simOption", label = "Historical Data",value=TRUE),
checkboxInput(inputId = "simOption2", label = "Historical Data 2",value=TRUE)
),
mainPanel(
tabsetPanel(
tabPanel("Heatmap",
plotOutput("temp")
),
tabPanel("About"),
id="tabs"
)#tabsetPanel
)#mainPane;
))