Description Usage Arguments Examples
This function receives a dataframe, a list of current names, and a list of equal length of new names. It returns a dataframe with the new names, or stops with an error message if it can not do so.
| 1 | changedfnames(df, namesin, namesout)
 | 
| df | Name of the input dataframe | 
| namesin | List of current names | 
| namesout | List of new names. Must be of equal length as namesin. | 
| 1 | changedfnames(df=data.frame(a=c(1,2),b=c(3,4)), namesin=c("a","b"), namesout=c("c","d"))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.