Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 按下闪亮仪表板中的切换按钮时,完全隐藏侧边栏_R_Shinydashboard - Fatal编程技术网

R 按下闪亮仪表板中的切换按钮时,完全隐藏侧边栏

R 按下闪亮仪表板中的切换按钮时,完全隐藏侧边栏,r,shinydashboard,R,Shinydashboard,按下仪表板顶部的切换按钮时,有没有办法完全隐藏侧边栏?现在侧边栏的一部分仍然存在 #app.r library(shiny) library(shinyWidgets) library(shinydashboard) library(shinydashboardPlus) shinyApp( ui = dashboardPagePlus( header = dashboardHeaderPlus( ), sidebar = dashboardSidebar(),

按下仪表板顶部的切换按钮时,有没有办法完全隐藏侧边栏?现在侧边栏的一部分仍然存在

#app.r
library(shiny)
library(shinyWidgets)
library(shinydashboard)
library(shinydashboardPlus)

shinyApp(
  ui = dashboardPagePlus(
    header = dashboardHeaderPlus(

    ),
    sidebar = dashboardSidebar(),
    body = dashboardBody(
    ),
    rightsidebar = rightSidebar(),
    title = "DashboardPage"
  ),
  server = function(input, output) { }
)

您可以将
sidebar\u fullCollapse=TRUE
添加到
dashboardPagePlus
命令中以完全折叠它

您可以将
sidebar\u fullCollapse=TRUE
添加到
dashboardPagePlus
命令中以完全折叠它