CommencerCommencer gratuitement

Menus

In this exercise you will organize pages into a dropdown menu.

Cet exercice fait partie du cours

Building Dashboards with flexdashboard

Afficher le cours

Instructions

  • Change the menu navigation so that the Details and Data pages are listed on a dropdown menu called "More".
  • Expand the HTML viewer after knitting and navigate through the three pages.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

{"my_document.Rmd":"---\ntitle: \"Bikeshare\"\noutput: \n  flexdashboard::flex_dashboard:\n    orientation: columns\n---\n\n```{r setup, include=FALSE}\nlibrary(flexdashboard)\n```\n\nOverview\n=====================================\n\nColumn\n-----------------------------------------------------------------------\n\n### Chart A\n\n```{r}\n\n```\n\nColumn\n-----------------------------------------------------------------------\n\n### Chart B\n\n```{r}\n\n```\n\n### Chart C\n\n```{r}\n\n```\n\nDetails\n=====================================\n\n### Chart AA\n\n```{r}\n\n```\n\nData\n=====================================\n\n### Chart BB\n\n```{r}\n\n```\n\n\n"}
Modifier et exécuter le code