2.12 Summary

Chapter 3: Basic UI introduces the 3 components of user interface for Shiny

  1. Inputs;
    • Text, Numeric variables, Dates, Limited choices, Radio buttons/Check boxes, File uploads, Buttons
    • renderText() <-> textOutput()
    • renderPrint() <-> verbatimTextOutput()
  2. Outputs;
    • Text, Tables, Plots, Downloads
    • tableOutput() <-> renderTable() for static tables
    • dataTableOutput() <-> renderDataTable() for dynamic tables
    • plotOutput() <-> renderPlot()
  3. Layout functions;
    • Pages with sidebar(s) & mainPanel(s), Bootstrap, Tabsets, Themes, CSS