translate_items | R Documentation |
Translate item
translate_items(vector, dict)
vector |
A vector whose values are to be translated. |
dict |
A named vector, whose names are keys in 'vector' to be replaced and whose values are the new values |
A vector with new values
v = c("A","B","C") dict = c("A"="1") translate_items(v, dict)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.