Instruction: Outline the key components of a Shiny app and demonstrate with a simple example.
Context: This question tests the candidate's familiarity with developing interactive web applications using Shiny, showcasing their ability to create dynamic analysis tools.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
The UI defines the layout and appearance of the app...