Description Usage Arguments Value
Out with the old in with the new
1 | replace_names(df, oldnames, newnames)
|
df |
dataframe, a dataframe containing some old column names |
oldnames |
vector, list of column names to be replaced. Must have the same order and length as new names |
newnames |
vector, list of column names to replaced the old ones. Must have the same order and length as old names |
dataframe, dataframe with updated column names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.