This function allows you to input a vector and strings that should be transformed to YES or NO and outputs a standardized column
1 |
col |
Column or vector to be standardized |
yes |
Strings to be transformed to YES |
no |
Strings to be transformed to NO |
upper |
Transform all to upper case to make substitution easier |
verbose |
Output a message that identifies left over strings in the column that are not YES or NO |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.