| swapColumns | R Documentation | 
Replaces columns in the dataframe to with those with identical names
in the dataframe from.
swapColumns(to, from)
| to | Dataframe to pull columns into | 
| from | Dataframe to pull columns from | 
A dataframe with the swapped columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.