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.
This exercise is part of the course
Building Dashboards with shinydashboard
Exercise instructions
- Set a green skin for the dashboard.
- Render the shinydashboard.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Set a green skin
ui <- ___(___, header, sidebar, body)
# Render the shinydashboard
___