Book Image

R Programming Fundamentals

By : Samik Sen
Book Image

R Programming Fundamentals

By: Samik Sen

Overview of this book

R Programming Fundamentals, focused on R and the R ecosystem, introduces you to the tools for working with data. To start with, you'll understand you how to set up R and RStudio, followed by exploring R packages, functions, data structures, control flow, and loops. Once you have grasped the basics, you'll move on to studying data visualization and graphics. You'll learn how to build statistical and advanced plots using the powerful ggplot2 library. In addition to this, you'll discover data management concepts such as factoring, pivoting, aggregating, merging, and dealing with missing values. By the end of this course, you'll have completed an entire data science project of your own for your portfolio or blog. The code bundle for this course is available at: https://github.com/TrainingByPackt/R-Programming-Fundamentals
Table of Contents (3 chapters)
Chapter 2
Data Visualization and Graphics
Content Locked
Section 5
ggplot2: Introduction
Let us get introduced to ggplot2 and its installation. We then learn about the difference between base plots and ggplot2, and thinking of ggplot2 in layered structure. Let us then learn about the syntax, local and global mapping in ggplot2 calls.