daily pastebin goal
16%
SHARE
TWEET

week10UI

limedog Mar 25th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top