0
2 selectInput 1つのライン中の1つのチェックボックスを作成する方法、ディスプレイは次のようになり:シャイニー - 2 selectInput 1つのライン中の1つのチェックボックス
X軸:----- Y軸:--- ---- -check
とコードは次のとおりです。 UI:
library(shiny)
shinyUI(fluidPage(
titlePanel("Shiny"),
sidebarLayout(
sidebarPanel(
),
mainPanel(
uiOutput("scatcoefgwr")
)
)
))
サーバー:
shinyServer(function(input, output) {
output$scatcoefgwr <- renderUI({
list(
selectInput("axisx", "x axis:",choices = c("1","2","3")),
selectInput("axisy", "y axis:",choices = c("1","2","3")),
checkboxInput("scatterD3_ellipsesgwr", "check", value = FALSE)
)
})
})