Tag: R

How to Append Rows to a DataFrame in R (with 7 Code Examples)

In this tutorial, we’ll cover how to append to a DataFrame in R — one of the most common modifications performed on a DataFrame. A DataFrame is one of the essential data structures in the R programming language. It’s known to be very flexible because it can contain many data types and is easy to […]

Read More

How to Write Functions in R (with 18 Code Examples)

Functions are essential tools in R. Here’s what you need to know about creating and calling them — and more. A function in R is one of the most used objects. It’s very important to understand the purpose and syntax of R functions and knowing how to create or use them. In this tutorial, we’ll […]

Read More

How to Add a Column to a DataFrame in R (with 18 Code Examples)

In this tutorial, you’ll learn one of most common operations used for manipulating DataFrames in R — adding columns. A DataFrame is one of the basic data structures of the R programming language. It is also a very versatile data structure since it can store multiple data types, be easily modified, and easily updated. In […]

Read More

How to Use a For-Loop in R (with 18 Code Examples)

A for-loop is one of the main control-flow constructs in the R programming language. So what does that mean, and how do you use it? In this tutorial, we will discuss what a for-loop in R is, what syntax it has, when it can be applied, how to use it on different data structures, how […]

Read More

The Easy Way to Install a Package in R (with 8 Code Examples)

R is a powerhouse programming language with many data science applications. But before we can put its packages to work, we need to install them. Here’s how. R is a programming language for statistical computing, especially efficient for performing data science tasks. This popularity is because R offers an impressive choice of data science-oriented packages, […]

Read More

Learn R the Right Way in 5 Steps

R is in an increasingly popular language for data analysis and data science. Here’s how you can learn R and be sure it sticks so you can get the career you want.

Read More

Making Learning to Code Friendlier with Art — An Interview with Dr. Allison Horst

Learning to code for the first time can be intimidating. One way to make it more approachable? Fun pictures of fuzzy monsters.

Read More

Data Visualization in R with ggplot2: A Beginner Tutorial

A famous general is thought to have said, “A good sketch is better than a long speech.” That advice may have come from the battlefield, but it’s applicable in lots of other areas — including data science. “Sketching” out our data by visualizing it using ggplot2 in R is more impactful than simply describing the […]

Read More

How to Use If-Else Statements and Loops in R

Learn to use if-else statements, for loops, and while loops to build complex conditional programs in R, a valuable skill for aspiring data scientists and R programmers alike.

Read More

Top Tips for Learning R from Africa R’s Shelmith Kariuki

If you’re just at the beginning of your journey learning R programming and you’re looking for tips, there’s a lot you can learn from Shelmith Kariuki. Shel has years of professional experience working in data science, and years of experience teaching statistics and data skills to others. She’s a data analyst, an RStudio certified Tidyverse […]

Read More

Tutorial: Getting Started with R and RStudio

Get your R programming journey off on the right foot with this RStudio tutorial that walks through everything from installation to best practices.

Read More

Tidyverse Basics: Load and Clean Data with R tidyverse Tools

We’ll load, clean, and prep some Brooklyn real estate data for analysis using R and the tidyverse! Messy datasets are everywhere. If you want to analyze data, it’s inevitable that you will need to clean data. In this tutorial, we’re going to take a look at how to do that using R and some nifty […]

Read More

Tutorial: Better Blog Post Analysis with googleAnalyticsR

Learn to compare blog posts on even footing by using R programming and the googleAnalyticsR package for blog data analysis in this free tutorial.

Read More

Learn R Free — Our Interactive R Courses Are ALL Free This Week!

Exciting news: for the next week, all of our R programming courses are free. In fact, every single course in our Data Analyst in R career path is free from July 20-27. This free week includes all of our R programming courses and all of the SQL and statistics courses that are included in the R path. Why are we doing this? Last […]

Read More

Learn R for Data Analysis with Our New R Courses!

Learn R for data analysis and data science. Dataquest’s Data Analyst in R path has an all-new beginning that makes it easier than ever to learn from scratch.

Read More