rename | R Documentation |
Rename variables from a data.table.
rename(.df, ...)
.df |
A data.frame or data.table |
... |
|
df <- data.table(x = 1:3, y = 4:6)
df %>%
rename(new_x = x,
new_y = y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.