Crearea dashboardurilor cu shinydashboard
Png Kee Seng
Researcher

statusstatus<object>(status = <status>, ...)

notificationItem() este "success"
header <- dashboardHeader( ... dropdownMenu(type = "notifications",notificationItem("Sell alert",status = "danger"),notificationItem("Buy alert",status = "success"))) ...
status neschimbat, caseta rămâne fără culoarestatus la "info"solidHeader = TRUE... body <- dashboardBody(..., box("Stock name",title="Stock name title",width = 6,status = "info",solidHeader = TRUE)),...



colorclose a scăzut cu 2% față de ierivalueBox() cu o culoare roșie pentru a o avertiza pe Sally
... body <- dashboardBody(...,valueBox("Close (%)", "-2%", width = 2,color = "red"),...) ...

?validStatuses și ?validColorsshinydashboardskin în dashboardPage()dashboardPage(skin = <color>)
Culori posibile
"blue" (implicit)"black""purple""green""red""yellow"ui <- dashboardPage(skin = "purple",
header, sidebar, body)
ui <- dashboardPage(skin = "black",
header, sidebar, body)


Crearea dashboardurilor cu shinydashboard