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

Introducing ggplot2


The ggplot2 package is a data visualization package for R, which implements the so-called grammar of graphics, and makes it easy and accessible.

Looking at the history of ggplot2

Hadley Wickham mainly created the ggplot2 package back in 2005. Since then, it has grown to be one of the most popular packages of the R language, and a huge community formed around it. Its main focus lies in making plotting in R very accessible, and so, it can be used as a replacement for the base graphics system.

The package, basically, is a successor of the famous lattice package and tries to take from it only the good parts and leave out the bad. So, it wants to make the creation of graphics easier.

On February 25, 2014, Hadley Wickham formally announced that ggplot2 is shifting to maintenance mode. This means that features will no longer be added, but major bugs will still be fixed. This is not because they lost interest in the package, but because it is feature-complete, meaning that the package...