inst/shiny-apps/helloWorld/ui.R

library(shiny)

# Define UI para a aplicação
shinyUI(fluidPage(

  # Título
  titlePanel("Olá, Shiny!"),

  # Uma coluna com um checkbox para colocar o smooth
  sidebarLayout(
    sidebarPanel(
      checkboxInput(inputId='smooth', label='Smooth?', value=FALSE)
    ),

    # Gráfico!
    mainPanel(
      plotOutput("distPlot")
    )
  )
))
jtrecenti/cea20160329 documentation built on May 20, 2019, 3:16 a.m.