Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • R Programming Fundamentals
  • Toc
  • feedback
R Programming Fundamentals

R Programming Fundamentals

By : Kaelen Medeiros
3 (1)
close
R Programming Fundamentals

R Programming Fundamentals

3 (1)
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)
close

Creating Base Plots

R can plot data without installing any additional packages. This is commonly referred to as base plotting. It is called base plotting because, like functions that come pre-installed with R in the base package, discussed in Chapter 1, Introduction to R, these plots are built into R. The graphics package comes with a download of R and enables you to plot data without installing any other packages.

To see details on the graphics package, you can search for R graphics package in a search engine of your choice or navigate to the following URL: https://stat.ethz.ch/R-manual/R-devel/library/graphics/html/00Index.html.

Base plots are often not used outside of work done for data cleaning and EDA. Many data scientists use other more aesthetically pleasing plots, such as those generated using ggplot2 or Plotly, for any plots or graphs that a customer may see. It is important...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete