Nghiên cứu tình huống: Xây dựng ứng dụng web với Shiny trong R
Dean Attali
Shiny Consultant

sliderInput("slider", "Chọn một số",
value = 15, min = 5, max = 20)

sliderInput("slider2", "Chọn một số",
value = c(10, 15), min = 5, max = 20)

str(input$slider2)
num [1:2] 10 15
radioButtons("radio", "Chọn thời điểm bạn thích",
choices = c("Morning", "Afternoon", "Evening"),
selected = "Afternoon")

selectInput("select", "Chọn thời điểm bạn thích",
choices = c("Morning", "Afternoon", "Evening"),
selected = "Afternoon")

selectInput("select", "Chọn thời điểm bạn thích",
choices = c("Morning", "Afternoon", "Evening"),
selected = "Afternoon")

selectInput("select", "Chọn thời điểm bạn thích",
choices = c("Morning", "Afternoon", "Evening"),
selected = "Afternoon")

selectInput("select", "Chọn thời điểm bạn thích",
choices = c("Morning", "Afternoon", "Evening"),
selected = c("Afternoon", "Evening"),
multiple = TRUE)


Nghiên cứu tình huống: Xây dựng ứng dụng web với Shiny trong R