This creates a dashboard page for use in a Shiny app.
dashboardPage(
header,
sidebar,
body,
title = NULL,
skin = c("blue", "black", "purple", "green", "red", "yellow")
)A header created by dashboardHeader().
A sidebar created by dashboardSidebar().
A body created by dashboardBody().
A title to display in the browser's title bar. If no value is
provided, it will try to extract the title from the dashboardHeader().
A color theme. One of "blue", "black",
"purple", "green", "red", or "yellow".
## Only run this example in interactive R sessions
if (interactive()) {
# Basic dashboard page template
library(shiny)
shinyApp(
ui = dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody(),
title = "Dashboard example"
),
server = function(input, output) { }
)
}