shinydashboard ile Panolar Oluşturma
Png Kee Seng
Researcher
<type>input(<kimlik etiketi>, <görünen etiket>, ...)
selectInput()’tırshinyApp() çalıştırarak uygulamayı oluşturalımui <- fluidPage( titlePanel("Sleeping habits in America"), selectInput("selectlabel", "Select an option",choices = c("Option 1", "Option 2", "Option 3", "Option 4"))
server <- function(input, output, session) {
}
shinyApp(ui, server)

multiple adlı bir argüman da ekleyebilirizui <- fluidPage(
titlePanel("Sleeping habits in America"),
selectInput("selectlabel",
"Select an option",
choices = c("Option 1", "Option 2", "Option 3", "Option 4"),
multiple = TRUE))
server <- function(input, output, session) {
}
shinyApp(ui, server)

value: metin kutusunun başlangıç değeriplaceholder: ne girileceğine dair ipucuui <- fluidPage( titlePanel("Sleeping habits in America"), textInput("textlabel", "Tell me your name",value = "Birdie",placeholder = "Don"))
server <- function(input, output, session) {
}
shinyApp(ui, server)

value: başlangıç durumunu ayarlar; TRUE veya FALSEcheckboxInput’ın checkboxGroupInput adlı bir varyasyonu da vardırui <- fluidPage( titlePanel("Sleeping habits in America"), checkboxInput("checkboxlabel", "65 years and over",value = FALSE))server <- function(input, output, session) { } shinyApp(ui, server)

min ve max ayarlanırvalue ile belirlenirstep ile belirlenirui <- fluidPage( titlePanel("Sleeping habits in America"), sliderInput("sliderlabel", "Average hours of sleep",min = 7.5, max = 11,value = 9,step = 0.02))server <- function(input, output, session) { } shinyApp(ui, server)

value uzunluğu 2 bir vektörse kaydırıcı çift uçlu olurui <- fluidPage( titlePanel("Sleeping habits in America"), sliderInput("sliderlabel", "Average hours of sleep", min = 7.5, max = 11,value = c(8, 10),step = 0.02)) server <- function(input, output, session) { } shinyApp(ui, server)

shinydashboard ile Panolar Oluşturma