Using FlexDashboard in R
Making Business Presentations using Flexdashboards in R
Slides and Tutorials
R Tutorial |
---|
Introduction
Now that we have gotten a handle on Descriptive Analytics, Predictive Analytics, Modelling, Statistical Analysis, and Optimization, it is time to put all that work together in a convincing poster/presentation!
There are many ways of doing this, of course. We will be following a very intuitive package
in R, called flexdashboard
. This package allows us to make Posters that include code, analysis, description, and of course pictures to weave a convincing story for upper management!
FlexDashboard
We will use the flexdashboard
package to create our reports.
Highlights of the flexdashboard package include:
- Support for a wide variety of components including interactive htmlwidgets; base, lattice, and grid graphics; tabular data; gauges; and value boxes.
- Flexible and easy to specify row and column-based layouts. Components are intelligently re-sized to fill the browser and adapted for display on mobile devices.
- Extensive support for text annotations to include assumptions, contextual narrative, and analysis within dashboards.
- Storyboard layouts for presenting sequences of visualizations and related commentary.
- By default dashboards are standard HTML documents that can be deployed on any web server or even attached to an email message. You can optionally add Shiny components for additional interactivity and then deploy on Shiny Server or shinyapps.io.
An Example
Here is a good example of what we can create as a flexdashboard based business report:
https://testing-apps.shinyapps.io/flexdashboard-ggplotly-examples/
Let us work through creating a flexdashboard
based report.
References
Flexdashboard Basics https://rstudio.github.io/flexdashboard/articles/flexdashboard.html
Flexdashboard Examples https://rstudio.github.io/flexdashboard/articles/examples.html
Shannon Haymond,Create laboratory business intelligence dashboards for free using R: A tutorial using the flexdashboard package, Journal of Mass Spectrometry and Advances in the Clinical Lab, Volume 23, 2022,Pages 39-43, ISSN 2667-145X, https://doi.org/10.1016/j.jmsacl.2021.12.002.
https://posit.co/blog/flexdashboard-easy-interactive-dashboards-for-r/