How to add Prefix/Suffix to Column Names of a dataframe in R

In this tutorial we will learn how to add a prefix or a suffix to column names of a data frame in R. We will use dplyr’s rename_with() function to add prefix/suffix to column names. dplyr’s rename_with() function belongs to another renaming function in dplyr, rename() that is useful. for renaming a individual columns. First,… Continue reading How to add Prefix/Suffix to Column Names of a dataframe in R

Exit mobile version