Book Image

R Programming Fundamentals

By : Kaelen Medeiros
Book Image

R Programming Fundamentals

By: Kaelen Medeiros

Overview of this book

R Programming Fundamentals, focused on R and the R ecosystem, introduces you to the tools for working with data. You’ll start by understanding 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 book, you’ll have completed an entire data science project of your own for your portfolio or blog.
Table of Contents (6 chapters)

Summary

Graphing in R will be crucial in your data science work, and we have covered most of the basics here. However, graphing is one of those things where, most of the time, there are always going to be different types of graphs you haven't heard of yet and options you haven't yet selected, so it's important to know where to look for assistance and how to keep learning.

We have only covered the basics to get you off the ground in ggplot2 in this book, so you'll definitely need to use Stack Overflow and the ggplot2 official documentation on the Tidyverse website to experiment with different graphs and aesthetics. You should look into how to use scales, how to have ggplot2 calculate statistics for you, and the many other different types of plots available.

Let's press forward on to the next topic, where we'll begin to look at some data more...