Membangun Dashboard dengan shinydashboard
Png Kee Seng
Researcher

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

notificationItem() adalah "success"
header <- dashboardHeader( ... dropdownMenu(type = "notifications",notificationItem("Sell alert",status = "danger"),notificationItem("Buy alert",status = "success"))) ...
status kosong menghasilkan kotak tanpa warnastatus ke "info"solidHeader = TRUE... body <- dashboardBody(..., box("Stock name",title="Stock name title",width = 6,status = "info",solidHeader = TRUE)),...



colorclose turun 2% sejak kemarinvalueBox() berwarna merah untuk memperingatkan Sally
... body <- dashboardBody(...,valueBox("Close (%)", "-2%", width = 2,color = "red"),...) ...

?validStatuses dan ?validColorsshinydashboardskin di dashboardPage()dashboardPage(skin = <color>)
Ini pilihan warnanya
"blue" (default)"black""purple""green""red""yellow"ui <- dashboardPage(skin = "purple",
header, sidebar, body)
ui <- dashboardPage(skin = "black",
header, sidebar, body)


Membangun Dashboard dengan shinydashboard