 ## How to Concatenate Two Columns (or More) in R – stringr, tidyr

In this guide you will learn how to concatenate two columns in R. In fact, you will learn how to merge multiple columns in R using base R (e.g., using the paste function) and Tidyverse (e.g. using str_c() and unite()). In the final section of this post, you will learn... ## How to Calculate Five-Number Summary Statistics in R

In this short tutorial, you will learn how to find the five-number summary statistics in R. Specifically, in this post we will calculate: MinimumLower-hingeMedianUpper-hingeMaximum Now, we will also visualize the five-number summary statistics using a boxplot. First,... ## How to use \$ in R: 6 Examples – list & dataframe (dollar sign operator)

In this very short tutorial, you will learn by example how to use the operator \$ in R. First, we will learn what the \$ operator does by getting the answer to some frequently asked questions. Second, we will work with a list that we create, and use the dollar sign... ## How to Rename Column (or Columns) in R with dplyr

In this data science tutorial, you will learn how to rename a column (or multiple columns) in R using base functions as well as dplyr. Renaming columns in R is a very easy task, especially using the rename() function. Now, renaming a column with dplyr and the rename()... ## How to Take Absolute Value in R – vector, matrix, & data frame

In this data science tutorial, you will learn how to get the absolute value in R. Specifically, you will learn how to get the absolute value using the built-in function abs(). As you may already suspect, using abs() is very easy and to take the absolute value from... ## Select Columns in R by Name, Index, Letters, & Certain Words with dplyr

In this R tutorial, you will learn how to select columns in a dataframe. First, we will use base R, in a number of examples, to choose certain columns. Second, we will use dplyr to get columns from the dataframe. Outline In the first section, we are going to have a...