Advertisement
limedog

week10UI

Mar 25th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. #
  2. # This is the user-interface definition of a Shiny web application. You can
  3. # run the application by clicking 'Run App' above.
  4. #
  5. # Find out more about building applications with Shiny here:
  6. #
  7. # http://shiny.rstudio.com/
  8. #
  9.  
  10. library(shiny)
  11.  
  12. # Define UI for application that draws a histogram
  13. shinyUI(fluidPage(
  14.  
  15. # Application title
  16. titlePanel("Temp Name"),
  17.  
  18. # Sidebar with a slider input for number of bins
  19. sidebarPanel(numericInput("x_min", "Min Years:", 1850, min=1850, max=2020),
  20. numericInput("x_max", "Max Years:", 2020, min=1850, max=2020)
  21. ),
  22.  
  23.  
  24. # Show a plot of the generated distribution
  25. mainPanel(
  26. plotOutput("distPlot")
  27.  
  28. )
  29. )
  30. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement