rename_col | R Documentation |
Side_0o_Effect's https://stackoverflow.com/a/16490387
rename_col(data, old_name, new_name, ...)
data |
data with columns to rename |
old_name |
old name - no need to "quote" |
new_name |
new name - no need to "quote" |
dt <- data.frame(a = 1, b = 2)
rename(dt, a, b)
rename(dt, a, a, unique = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.