Created
February 12, 2018 06:13
-
-
Save aagarw30/bb5ce42ebc7a60302a50bb7ddcf113af to your computer and use it in GitHub Desktop.
Demo - side by side input widgets in R Shiny
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
ui <- fluidPage( | |
tags$div(sliderInput("slide1", "Slider1", min = 0, max=10, value=4), style="display:inline-block"), | |
tags$div(sliderInput("slide1=2", "Slider2", min = 0, max=10, value=4), style="display:inline-block"), | |
tags$div(sliderInput("slide3", "Slider3", min = 0, max=10, value=4), style="display:inline-block") | |
) | |
server <- function(input, output, session) { | |
} | |
shinyApp(ui, server) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment