rescore | R Documentation |
Recodes or reverse codes a vector of scores
rescore(x, from, to = names(from), reverse = missing(from), trynumeric = TRUE)
x |
vector of scores to be recoded. |
from |
list of old values in |
to |
vector of new values to be assigned to corresponding value(s)
in |
reverse |
logical, with default |
trynumeric |
logical with default |
Returns a vector of recoded scores.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.