rename | R Documentation |
Rename a column in a data frame
rename(data, col_name, replacement)
data |
A data frame to modify. |
col_name |
A character vector of columns to rename. |
replacement |
A character vector of replacement column names. |
Returns the renamed data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.