View source: R/codebook_preproc.R
codebook_renamer | R Documentation |
Rename the columns of a dataframe.
codebook_renamer(df, names_from, names_to)
df |
Dataframe with columns to be renamed |
names_from |
Vector of column names found in df |
names_to |
Vector of column names with the same length as names_from to which columns in df will be renamed |
A dataframe with renamed columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.