View source: R/prepare_functions.R
rename_values | R Documentation |
rename values of a character vector according to renamings table
rename_values( x, renamings, old_name_col = "old_name", new_name_col = "new_name" )
x |
character vector |
renamings |
data frame consisting of old and new names |
old_name_col |
name of column with original variable names |
new_name_col |
name of column with new variable names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.