Answers for "how to rename specific variable of a column in r"

R
0

r rename column based on variable

df %>% rename(!!variable := name_of_col_from_df)
Posted by: Guest on June-21-2020

Code answers related to "how to rename specific variable of a column in r"

Browse Popular Code Answers by Language