Change names of selected variables in a data frame. Note that for large data frames the raw code of this function should be copied into script rather than using this function, as there will be a memory cost in copying the data frame within the function.
1 | changeNames(df, oldNames = names(df), newNames)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.