dplyr rename(): How to rename column in r with dplyr

How to rename a column with dplyr's rename()

In this tutorial, we will learn how to rename column name of a dataframe in R using dplyr’s rename() function. We will first see the basic syntax to use to change the name of a column with dplyr’s rename(). Then we will see an example of of changing one column name and next wee will… Continue reading dplyr rename(): How to rename column in r with dplyr

How to Convert Numerical Variable into a Categorical Variable in R

In this tutorial, we will learn how to convert numerical or continuous variable into categorical variable. We will start with the simple example converting a numerical variable into a categorical variable with just two levels. And then we will see an example of converting a numerical variable into a categorical variable with multiple levels. Let… Continue reading How to Convert Numerical Variable into a Categorical Variable in R

Exit mobile version