Case Studies: Building Web Applications with Shiny in R
Dean Attali
Shiny Consultant
sliderInput("slider", "Choose a number",
value = 15, min = 5, max = 20)
sliderInput("slider2", "Choose a number",
value = c(10, 15), min = 5, max = 20)
str(input$slider2)
num [1:2] 10 15
radioButtons("radio", "Choose your favorite time of day",
choices = c("Morning", "Afternoon", "Evening"),
selected = "Afternoon")
selectInput("select", "Choose your favorite time of day",
choices = c("Morning", "Afternoon", "Evening"),
selected = "Afternoon")
selectInput("select", "Choose your favorite time of day",
choices = c("Morning", "Afternoon", "Evening"),
selected = "Afternoon")
selectInput("select", "Choose your favorite time of day",
choices = c("Morning", "Afternoon", "Evening"),
selected = "Afternoon")
selectInput("select", "Choose your favorite time of day",
choices = c("Morning", "Afternoon", "Evening"),
selected = c("Afternoon", "Evening"),
multiple = TRUE)
Case Studies: Building Web Applications with Shiny in R