ecoTM/ui.R

fluidPage(
  # Application title
  titlePanel("EcoApps: Text Mining Ecology"),

  sidebarLayout(
    # Sidebar with a slider and selection inputs
    sidebarPanel(
      selectInput("selection", "Journal:",
                  choices = journals),
      actionButton("update", "Change"),
      hr(),
      sliderInput("freq",
                  "Minimum Frequency:",
                  min = 1,  max = 50, value = 15),
      sliderInput("max",
                  "Maximum Number of Words:",
                  min = 1,  max = 300,  value = 100)
    ),

    # Show Word Cloud
    mainPanel(
      plotOutput("plot")
    )
  )
)
HarvardForest/ecoapps documentation built on May 6, 2019, 10:55 p.m.