rename.variable | R Documentation |
Rename a data frame column
rename.variable(df, old, new)
df |
data frame |
old |
old name |
new |
new name |
A data frame with the column named "old" renamed as "new"
data(iris) str(iris) iris <- rename.variable(iris, "Species", "especes") str(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.