Skip to content

Instantly share code, notes, and snippets.

@Nicolabo
Last active May 26, 2018 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nicolabo/d71ba55bf9eb41f13b1eb1180dbce27d to your computer and use it in GitHub Desktop.
Save Nicolabo/d71ba55bf9eb41f13b1eb1180dbce27d to your computer and use it in GitHub Desktop.
Task 2
fluidPage(
titlePanel(title = "Introduction to Shiny"),
sidebarPanel(
selectInput("carrierName",
label = "Select carrier:",
choices = sort(chosenCarrier$name),
selected = sort(chosenCarrier$name)[1],
multiple = T),
sliderInput('delayFlightRange',
label = "Choose minutes range of delay flights:",
min = 0, max = 1000, value = c(0, 1000), step = 5),
numericInput("distance_val", label = "Flight distance longer than (miles):", value = 500)
),
mainPanel(
tabsetPanel(
tabPanel("Delay over day"),
tabPanel("Explore data")
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment