title: How to create multiple pages with its own set of widgets in Shiny
body: <p>I want to be able to create multiple pages each with a set of widgets drop down, radio button and a space to plot a map. The Shiny tutorial shows how to create multiple pages</p>
  
  <pre><code>shinyUI(navbarPage("My Application",
    tabPanel("Component 1"),
    tabPanel("Component 2"),
    tabPanel("Component 3")
  ))
  </code></pre>
  
  <p>How can I add widgets in each page for e.g. how can I  add the following to Component 1?</p>
  
  <pre><code>  sidebarLayout(
      sidebarPanel(
          selectizeInput(
              'id', label = "Year", choices =   NULL,multiple=FALSE,selected="X2015",
              options = list(create = TRUE,placeholder = 'Choose the year')
  
          ),
          # Make a list of checkboxes
          radioButtons("radio", label = h3("Radio buttons"),
                       choices = list("Choice 1" = 1,
                                     "Choice 2" = 2)
  </code></pre>
  
  <p>and</p>
  
  <pre><code>     mainPanel(
          plotOutput("distPlot")
      )
  </code></pre>