Creare dashboard con shinydashboard
Png Kee Seng
Researcher

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

status predefinito per notificationItem() è "success"
header <- dashboardHeader( ... dropdownMenu(type = "notifications",notificationItem("Sell alert",status = "danger"),notificationItem("Buy alert",status = "success"))) ...
status invariato crea un box senza colorestatus su "info"solidHeader = TRUE... body <- dashboardBody(..., box("Stock name",title="Stock name title",width = 6,status = "info",solidHeader = TRUE)),...



colorclose sia sceso del 2% da ierivalueBox() in rosso per avvisare Sally
... body <- dashboardBody(...,valueBox("Close (%)", "-2%", width = 2,color = "red"),...) ...

?validStatuses e ?validColorsshinydashboard ci sono skin predefiniteskin in dashboardPage()dashboardPage(skin = <color>)
Colori possibili
"blue" (predefinito)"black""purple""green""red""yellow"ui <- dashboardPage(skin = "purple",
header, sidebar, body)
ui <- dashboardPage(skin = "black",
header, sidebar, body)


Creare dashboard con shinydashboard