rename_column | R Documentation |
Rename a column in a data frame.
rename_column(df, current_col, new_name)
df |
A data frame. |
current_col |
Column name in df that you wish to rename. |
new_name |
New column name. |
The dataframe with the column renamed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.