0
我想空出一個下拉和一些單選按鈕,它們位於Shiny R應用程序的一個框中的同一行上。請參閱下面的代碼。R閃亮的空間下拉列表和單選按鈕
box(
title = "Title"
,status = "primary"
,div(style="display:inline-block",selectInput('crisis_type_top_10_imp_wors', 'Crisis', c("Composite", "Banking",
"Currency", "Sovereign",
"Sudden Stop"), width = "120px"))
,div(style="display:inline-block",radioButtons("top_ten_normalisation_type_radio","Normalisation",
c("Global" = "Global",
"Regional" = "Regional",
"Own Country" = "Own Country")
,inline=T))
,solidHeader = FALSE
,collapsible = FALSE
,dataTableOutput("topTen")
, height = 660
, width = 6
, align='ccc'
)
這工作,非常感謝你 – OwlieW