Tag: R Tutorials

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

Apply Functions in R with Examples [apply(), sapply(), lapply (), tapply()]

In this tutorial, we’ll learn about the apply() function in R, including when to use it and why it’s more efficient than loops. The apply() function is the basic model of the family of apply functions in R, which includes specific functions like lapply(), sapply(), tapply(), mapply(), vapply(), rapply(), bapply(), eapply(), and others. All of […]

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

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

Getting Started with R Markdown — Guide and Cheatsheet

Learn the fundamentals of R markdown in this in-depth tutorial, or simply use it as a quick reference guide and cheatsheet for R markdown formatting.

Read More