There are two primary components to a Shiny app:
- The User Interface (UI) definition:
- Defines the appearance of the application.
- Lists each input and output, and where they will appear.
- Typically does not contain R analysis code.
- The Server definition:
- Defines the functionality of the application.
- For each input and output defined in the UI, the server will describe how to produce the necessary results.
- Typically contains most of the code from your R analysis script.