Changing shinydashboard skins
You have seen how the appearance of a shinydashboard can be easily changed using some predefined skins.
In the following, a shinydashboard has already been set up for you. Particularly, the header, sidebar and body of the UI have been stored as header, sidebar and body, and an empty function called server() has also been defined. Remember, we are still wireframing at this point.
Cet exercice fait partie du cours
Building Dashboards with shinydashboard
Instructions
- Set a green skin for the dashboard.
- Render the shinydashboard.
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Set a green skin
ui <- ___(___, header, sidebar, body)
# Render the shinydashboard
___