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

Summary


In this chapter, we gave you an overview of the landscape of plotting packages in R. We got an introduction to graphic devices and the fundamental graphic package base. This includes the base graphic parameters, and how to annotate with base plotting functions. The basic process of plot creation with this package is first, the initialization of a new plot, and second, the extension of an existing plot.

This was followed by a short overview of the famous Lattice package, which makes it possible to create a plot including any annotations with only a single function call.

After that, we gave you an introduction into the world of ggplot2. Hadley Wickham created this graphics package, and it is based on The Grammar of Graphics book, written by Leland Wilkinson. You can use this package to create powerful graphics and adapt them completely to your needs. Graphics created with the ggplot2 package consist of three elements: data, a set of geoms, and a coordinate system.

At the end of this chapter...