Book Image

Mastering RStudio: Develop, Communicate, and Collaborate with R

4 (1)
Book Image

Mastering RStudio: Develop, Communicate, and Collaborate with R

4 (1)

Overview of this book

RStudio helps you to manage small to large projects by giving you a multi-functional integrated development environment, combined with the power and flexibility of the R programming language, which is becoming the bridge language of data science for developers and analyst worldwide. Mastering the use of RStudio will help you to solve real-world data problems. This book begins by guiding you through the installation of RStudio and explaining the user interface step by step. From there, the next logical step is to use this knowledge to improve your data analysis workflow. We will do this by building up our toolbox to create interactive reports and graphs or even web applications with Shiny. To collaborate with others, we will explore how to use Git and GitHub and how to build your own packages to ensure top quality results. Finally, we put it all together in an interactive dashboard written with R.
Table of Contents (17 chapters)
Mastering RStudio – Develop, Communicate, and Collaborate with R
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Showing the elements of shinydashboard


The shinydashboard package provides dashboard-specific elements that we can add to our dashboard:

Note

In the following sections, we will show you the most important elements and their basic functionality of having enough space to show you how to build a real hands-on dashboard with R and shinydashboard. If you want to find out more about the elements and functions of the shinydashboard package, please visit the official page at https://rstudio.github.io/shinydashboard/.

Header elements

The header of our dashboard includes, among others, the title of the dashboard, but it can also have drop-down menus. These menus can be:

  • A message menu

  • A notification menu

  • A task menu

Setting the title argument can change the dashboard title. We can also set the size of the title box of the header. Another thing we can set to our needs is the color of the header. Shinydashboard provides several color themes. The default is set to blue, but we can also change it to purple, green...