Commit b5db039b authored by kfield's avatar kfield
Browse files

Add ui.R

parent 81a96dfe
Loading
Loading
Loading
Loading

Bradford/ui.R

0 → 100644
+16 −0
Original line number Diff line number Diff line
fluidPage(
  title = 'Download a PDF report',
  sidebarLayout(
    sidebarPanel(
      helpText(),
      selectInput('x', 'Build a regression model of mpg against:',
                  choices = names(mtcars)[-1]),
      radioButtons('format', 'Document format', c('PDF', 'HTML', 'Word'),
                   inline = TRUE),
      downloadButton('downloadReport')
    ),
    mainPanel(
      plotOutput('regPlot')
    )
  )
)
 No newline at end of file