| renamewith | R Documentation |
Rename columns with a function
renamewith(data, cols, fun)
data |
A data.frame. |
cols |
Character vector of column names. |
fun |
Function applied to each element, column, or group. |
data with the selected columns renamed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.