MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Building Dashboards with shinydashboard

Lihat Kursus

Petunjuk latihan

  • Set a green skin for the dashboard.
  • Render the shinydashboard.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Set a green skin
ui <- ___(___, header, sidebar, body)
# Render the shinydashboard
___
Edit dan Jalankan Kode