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

Data management is a crucial skill needed for working with data in R, and we have covered many of the basics in this chapter. One thing to keep in mind is that there is no prescribed order in which to conduct data management, cleaning, and data visualization. Rather, it will be an iterative process that likely won't end, even if you continue with your data and perform data analysis projects. You will probably run across more questions about your data if you use it to build statistical models.

This book was hopefully only the beginning of your R pro. It has taken you through variable types, basic flow control, data import and export, data visualization with base plots and ggplot2, summarizing and aggregating data, plus joins and merging to help you build a foundation for how to use R to work with data. However, the Comprehensive R Archive Network, or CRAN, the largest...