Your shiny
web application can be drawn as a dashboard. Translating a column shiny
app to a dashboard version requires only small amounts of effort when you have the shinydashboard
package installed. This recipe's goal is to introduce you to how to combine shiny
and shinydashboard
packages to design a web application within the dashboard format.
Besides plotly
, Ecdat
, and dplyr
packages, we will also need the shinydashboard
package:
if(!require(shinydashboard)){install.packages('shinydashboard')} if(!require(plotly)){install.packages('plotly')} if(!require(Ecdat)){install.packages('Ecdat')} if(!require(dplyr)){install.packages('dplyr')}
The shiny
package is still a requirement. Once all these are ready, we can go on and design a dashboard.