Description Usage Arguments Details Examples
This function is to reverse codes in SA question
1 |
vector |
character vector |
Note that for the sake of subsequent processing of data, the output of this function is numeric
1 2 | a = c("1", "2", "3", "4", "5", "9", NA)
reverse_code(a) #9 8 7 6 5 1 NA
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.