In this post we will learn how to rename a column name in a dataframe with another name saved in a variable using dplyr. We will use dplyr’s rename() function in combination with special functions that are part of tidyverse’s tidy eval functionalities. First, let us load tidyverse and check the installed dplyr’s version. We… Continue reading How to Change Column Name with a variable name
Category: dplyr rename()
How to rename one or more columns of a dataframe
In this tutorial, we will learn how to rename one or more columns of a dataframe in R. We will use rename() function in dplyr R package to change the name of a single column first and then see an example of using rename() function to rename more than one columns. Let us get started… Continue reading How to rename one or more columns of a dataframe