ABSTRACT

Shiny apps are useful to communicate information as interactive data explorations instead of static documents. The Shiny apps in the previous examples contain several inputs. The first app shows a numeric input to introduce a number and a histogram that is built using the number. The second app shows an input to select a region and a barplot that changes when the region is modified. The structure of a Shiny app that includes inputs and outputs, and supports reactivity. Shiny apps can include a variety of inputs that are useful for different purposes including texts, numbers and dates. These inputs can be modified by the user, and by doing this, the objects in the app that use them are updated. Outputs are objects want to show in the app and can be plots, tables or HTML widgets. Shiny apps use a functionality called reactivity to support interactivity.