Description Usage Arguments Value Examples
View source: R/recode_function.R
A recode-function that updates the variable by reference. Requires data.table.
1 |
dt |
Working data.table |
variable |
The variable to recode |
old |
a vector of the old values |
new |
a vector of the new values |
Recoded data.table and prints the changes
1 | e_recode()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.