translateStrings modifies a character vector by substituting one or more
strings with a replacement string.
vector of character strings to modify.
named character vector or a list of character vectors specifying the strings to replace (values) and their replacements (names).
Does not perform partial replacements. Each translation value must match a complete
strings value or it will not be replaced. Values that do not have a replacement
named in the
translation parameter will not be modified.
Replacement is accomplished using gsub.
See gsub for single value replacement in the base package.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.